go-loader-github
v0.0.4
Published
Go loader for GitHub repositories
Downloads
458
Maintainers
Readme
go-loader-github
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 formatusername/repository
reference
— git reference to checkout after installation (has priority overoptions.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