Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = devVersion
Version is the homonto build version. It is a constant-initialized string so the linker's -X stamp takes effect; when unstamped (e.g. `go install ...@tag`, which applies no ldflags) buildinfo.Resolve recovers the module version.
Functions ¶
func Execute ¶
Execute runs the root command with the given args and returns the process exit code: 1 on error, otherwise the taxonomy code a command set under --exit-code (0 by default). main() passes the result to os.Exit.
func NewRootCmd ¶
NewRootCmd builds the root cobra command and registers subcommands.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.