Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/thlorenz/gitify
- Owner: thlorenz
- License: mit
- Created: 2013-06-30T05:06:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-23T21:41:30.000Z (about 9 years ago)
- Last Synced: 2024-10-18T01:17:51.590Z (20 days ago)
- Language: JavaScript
- Homepage:
- Size: 219 KB
- Stars: 6
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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