Remove all forked repositories
$ npm install --save github-remove-forks
const githubRemoveForks = require('github-remove-forks');
githubRemoveForks({token: '523ef691191'}).then(data => {
console.log('Successfully remove all forked repositories');
});
Returns a promise for an array
with the removed repositories.
Required
Type: string
Token to authenticate with. If you don't have a token you can generate a new one here.
$ npm install --global github-remove-forks
$ github-remove-forks --help
Usage
$ github-remove-forks --token 523ef69119
Options
-t, --token Github token to authenticate with
-v, --verbose Show detailed output
- github-remove-all-releases - Remove all releases of a GitHub repo
MIT © Kevin Mårtensson