1.0.1 • Published 8 years ago
repocreate v1.0.1
Install
$ npm install --global repocreateOR
$ sudo npm install --global repocreatePreview
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 helpNOTE
- 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 tokenfromhereand copy it. - Run command
$ repocreate -c testrepo - A
token.jsonfile will open in Sublime with -```json { "username": "enter your github username", "token":"paste the access token" } ``` - Enter your
username, paste thetokenand save the file. You are ready to go!
NOTE
In case, you are not using sublime, follow the given steps -
- Manually open the
token.jsonfile saved under.repocreatefolder 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