gu-cli
v1.1.1
Published
CLI tools to download template defines in GitHub
Downloads
4
Readme
GU-CLI
A set of CLI tools to reduce bolierplate task
Install
npm install gu-cli -g
GUGET Usage
Usage: guget [options] <url>
Options:
-d, --dest <dest> destination path for clone git
-D, --debug display error
-h, --help output usage information
Example: apply boilerplate from git url to current directory
guget https://github.com/<username>/<repository>
Example: apply boilerplate from git url to a directory module_1
guget https://github.com/<username>/<repository> -d module_1
Example: apply boilerplate from git url shorthand to current directory
guget <username>/<repository>
Example: apply boilerplate from git url shorthand to a directory module_1
guget <username>/<repository> -d module_1
guignore Usage
Usage: guignore [options] <template>
Options:
-f, --file <file> output filename default to .gitignore
-o, --override override output file
-D, --debug display error
-h, --help output usage information
Example: apply node .gitignore template to .gitignore file and overwrite
guignore node -f .gitignore -o
Example: apply scala .gitignore template to default .gitignore file without overwrite
guignore scala
See templates here: https://github.com/github/gitignore