Skip to content

Commit

Permalink
fix(README): mention that -T is currently required for this script
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m authored May 27, 2021
1 parent d50b902 commit a1b987a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@

## Usage

Minimal usage
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)

```js
npx @octoherd/script-delete-repository
npx @octoherd/script-delete-repository \
-T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
```

Pass all options as CLI flags to avoid user prompts
Expand Down

0 comments on commit a1b987a

Please sign in to comment.