go-loader-github

Go loader for GitHub repositories

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
go-loader-github
0.0.44 years ago5 years agoMinified + gzip package size for go-loader-github in KB

Readme

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