splat
Lays out the structure for a new Spinup API.
Install
Install Using Homebrew
brew install yalespinup/tools/splat
Install from Binary
Download the latest binary for your platform from our releasse and place it in your PATH.
Install in GOPATH/bin from source
git clone https://github.com/YaleSpinup/splat.git
cd splat
go install
Usage
Initialize from a local template
splat init -l template-directory github.com/YaleSpinup/new-api
Initialize from a template in Github
Initialize a new API from a repository in Github. Splat
works off of releases and by default will pull the latest release.
splat init -g 'YaleSpinup/api-tmpl' github.com/YaleSpinup/new-api
You can specify the release tag with the --tag
flag.
splat init -g 'YaleSpinup/api-tmpl' --tag v0.2.0 github.com/YaleSpinup/new-api
Change the output directory
You can specify the release tag with the --tag
flag.
splat init -g 'YaleSpinup/api-tmpl' -o some/path/new-api github.com/YaleSpinup/new-api
Author
License
GNU Affero General Public License v3.0 (GNU AGPLv3)
Copyright (c) 2021 Yale University