1.0.2 • Published 5 years ago

gget-cli v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

GGET-CLI npm version

A set of CLI tools to reduce bolierplate task

Install

npm install gget-cli -g

GGET Usage

Usage: gget [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

gget https://github.com/<username>/<repository>

Example: apply boilerplate from git url to a directory module_1

gget https://github.com/<username>/<repository> -d module_1

Example: apply boilerplate from git url shorthand to current directory

gget <username>/<repository>

Example: apply boilerplate from git url shorthand to a directory module_1

gget <username>/<repository> -d module_1

GGIGNORE Usage

Usage: ggignore [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

ggignore node -f .gitignore -o

Example: apply scala .gitignore template to default .gitignore file without overwrite

ggignore scala

See templates here: https://github.com/github/gitignore