You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@
7
7
8
8
## Usage
9
9
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)
11
11
12
12
```js
13
-
npx @octoherd/script-delete-repository
13
+
npx @octoherd/script-delete-repository \
14
+
-T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
14
15
```
15
16
16
17
Pass all options as CLI flags to avoid user prompts
0 commit comments