go-loader-github

0.0.4 • Public • Published

go-loader-github

npm Travis Coveralls Vulnerabilities js-standard-style

Go loader for Github

Usage

$ npm install --global go go-loader-github
$ go github gocli/boilerplate-example

Options

$ go github <source>[:reference] <destination> [options]
  • source — valid source in a format username/repository
  • reference — git reference to checkout after installation (has priority over options.checkout)
  • destination — folder path to put loaded files (destination folder will be created if it doesn't exist)
  • options:
    • --no-install — do not install boilerplate after loading
    • --keep-git (-k) — do not remove .git/ directory after loading repository
    • --checkout <string> — git reference (tag, branch, etc) to checkout after repository is loaded
    • --depth <number> — truncate history by number of commits
    • --git <string> — path to Git binary

License

MIT © Stanislav Termosa

Dependents (1)

Package Sidebar

Install

npm i go-loader-github

Weekly Downloads

231

Version

0.0.4

License

MIT

Unpacked Size

5.1 kB

Total Files

5

Last publish

Collaborators

  • termosa