modulepackage
0.0.0-20221213152425-61e7faad6be8
Repository: https://github.com/trussworks/cli-template.git
Documentation: pkg.go.dev
# README
Truss CLI Template
This repository is meant to be a template repo to set up new CLIs with our general format. Everywhere
the tool or binary is listed in this repo the name my-cli-tool
will be used for search and replace
purposes.
Creating a new CLI repo
- Clone this rep, renaming appropriately.
- Write your golang code in the
main.go
file. - Run
go mod init github.com/trussworks/my-cli-tool
- Run
go mod tidy
to update thego.mod
andgo.sum
files - Build your tool with
go build .
Actual readme below - Delete above here
my-binary
Description
Please include a description of the CLI tool here
Installation
Include installation instructions with an example
brew tap trussworks/tap
brew install my-cli-tool
Usage
Include usage information here:
TBD
Examples
Run the command like this:
TBD
# Constants
VerboseFlag is the Verbose Flag.