This repository was archived by the owner on Jul 1, 2024. It is now read-only.
octoherd-script-delete-repo 2.1.0
Install from the command line:
Learn more about npm packages
$ npm install @stoe/octoherd-script-delete-repo@2.1.0
Install via package.json:
"@stoe/octoherd-script-delete-repo": "2.1.0"
About this version
Delete repositories
@octoherd helps to keep your GitHub repositories in line.
$ npx @stoe/octoherd-script-delete-repo \
--octoherd-token ghp_000000000000000000000000000000000000 \
--octoherd-repos "stoe/*"
# to authenticate as GitHub App
$ npx @stoe/octoherd-script-delete-repo \
--octoherd-token ghp_000000000000000000000000000000000000 \
--octoherd-repos "stoe/*"
--app-id 12345 \
--private-key ./private-key.pem
option | type | description |
---|---|---|
--excludes |
string | comma-separated list of repositories to exclude (default '' ) |
--delete-archived |
boolean | delete archived repositories (default false ) |
--dry-run |
boolean | show what would be done (default false ) |
--app-id |
integer | GitHub App ID (default 0 ) |
--private-key |
string | path to GitHub App .pem file (default '' ) |