Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thlorenz/gitify

Tool to create a remote github repository and add and push content to it.
https://github.com/thlorenz/gitify

Last synced: 15 days ago
JSON representation

Tool to create a remote github repository and add and push content to it.

Awesome Lists containing this project

README

        

# gitify

Tool to create a remote github repository and add and push content to it.

```js
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');
}
);
```

## Installation

npm install gitify

## API

###*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

## Commandline

gitify [ ]

## License

MIT