go-loader-git

2.0.0 • Public • Published

go-loader-git npm Travis

Go loader for git repositories

Usage

$ npm install --global go go-loader-git
$ go git <repository> [destination] [--keep-git]

repository — is anything that can be processed by git clone.

--keep-git (-k) — do not remove .git directory after loading repository.

destination — if it is specified, it will be created in case it is not exists yet, and loaded files will be stored in there. If path is not specified, it is extracted from the repository name.

Examples

# in /Users/gocli/

# ensures that /Users/gocli/sources/new-project/ exists and loads files in there
$ go git git@github.com:repository/path.git sources/new-project

# ensures that /Users/gocli/path/ exists and loads files in there
$ go git https://github.com/repository/path.git

License

MIT © Stanislav Termosa

Install

npm i go-loader-git@2.0.0

Version

2.0.0

License

MIT

Unpacked Size

7.25 kB

Total Files

5

Last publish

Collaborators

  • termosa