Skip to content

Commit a1b987a

Browse files
authored
fix(README): mention that -T is currently required for this script
1 parent d50b902 commit a1b987a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77

88
## Usage
99

10-
Minimal usage
10+
Minimal usage (You have to set a token because the built-in OAuth flow creates a token with the `repo` scope, but this script requires the `delete_repo` scope. You can create such a token at https://github.com/settings/tokens/new?scopes=delete_repo)
1111

1212
```js
13-
npx @octoherd/script-delete-repository
13+
npx @octoherd/script-delete-repository \
14+
-T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
1415
```
1516

1617
Pass all options as CLI flags to avoid user prompts

0 commit comments

Comments
 (0)