repocreate
v1.0.1
Published
An over-engineered but ultra-fast tool to create Github repositories from command-line
Downloads
6
Maintainers
Readme
Install
$ npm install --global repocreate
OR
$ sudo npm install --global repocreate
Preview
Usage
Usage: repocreate <command> [option]
Commands:
-c, --create name of the repository
-d, --description description of the repository
NOTE : --description is optional
Example:
$ repocreate -c foobar
$ repocreate -c "foo bar" -d Just another foobarism
Help:
-h, --help Display help
NOTE
- If the name of your repository is of more than one word, pass the argument as a single string inside single or double quotes.
- You don't have to put the descriptions inside quotes. Things will work fine even if you do that!
Setup
- Generate your
access token
fromhere
and copy it. - Run command
$ repocreate -c testrepo
- A
token.json
file will open in Sublime with -{ "username": "enter your github username", "token":"paste the access token" }
- Enter your
username
, paste thetoken
and save the file. You are ready to go!
NOTE
In case, you are not using sublime, follow the given steps -
- Manually open the
token.json
file saved under.repocreate
folder underhome directory
or
- Open the file using :
$ atom/code/vi ~/.repocreate/token.json
- Copy-paste the genereated
access token
- Save the file and that's it.
Why?
- I don't know, it's silly, but I use it. I don't know.
License
MIT © Rishi Giri