2.0.0 • Published 9 years ago

github-remove-forks v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

github-remove-forks Build Status

Remove all forked repositories

Install

$ npm install --save github-remove-forks

Usage

const githubRemoveForks = require('github-remove-forks');

githubRemoveForks({token: '523ef691191'}).then(data => {
	console.log('Successfully remove all forked repositories');
});

API

githubRemoveForks(options)

Returns a promise for an array with the removed repositories.

options

token

Required
Type: string

Token to authenticate with. If you don't have a token you can generate a new one here.

CLI

$ 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

Related

License

MIT © Kevin Mårtensson