splat

module
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2023 License: AGPL-3.0

README

splat

Lays out the structure for a new Spinup API.


goreleaser tests

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL