Tool to create a remote github repository and add and push content to it.
var gitify = require('gitify');
// change user and password to match your github account to see it in action
gitify(
{ user : 'joe'
, password : 'secret'
, repo : 'foo' // if no repo is given, the current folder name is used
}
, function (err) {
if (err) return console.error('err: ', err);
console.log('Success');
}
);
npm install gitify
###gitify(opts : Object, cb : Function)
- opts are optional and specify
- user* : github user
- password* : github password
- repo : name under which the repo should be published on github (defaults to current dir name)
- description : description of the repository (default empty)
* if user and/or password are not supplied, they will be obtained by prompting the user on the first gitify run and
saved into a config at: ~/.config/gitify.js
for future runs
gitify [<repo> <description> <user> <password>]
MIT