cli

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 15 Imported by: 0

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

func Execute(args []string) int

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

func NewRootCmd() *cobra.Command

NewRootCmd builds the root cobra command and registers subcommands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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