Modern, simplified Github login, CLI and API - generating personal access token. Support promises and node-style callbacks.
Install
npm install gitloginnpm testgitlogin --help
Usage
For more use-cases see the tests. You can run
node example.js
to try it.
var gitlogin = ; var opts = //auth: 'username:password' username: 'your github username' password: 'your github pass' scopes: 'repo' 'gist' note: 'My awesome cli login'; // callback-style // or promise-style // or hybrid
API
CLI
$ gitlogin --help Modern, simplified Github login, CLI and API - generating personal access token. Support promises and node-style callbacks. Options --help Show this help --version Current version of package -u | --username Your Github username, required -p | --password Your Github password, required -s | --scopes Scopes
Author
Charlike Mike Reagent
License
Copyright (c) 2014 Charlike Mike Reagent, contributors.
Released under the MIT
license.
Powered and automated by readdirp + hogan.js, December 24, 2014