Documentation
¶
Overview ¶
Package cli builds the Cobra command tree. Bare invocation routes to the TUI; subcommands wire into the application verbs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1-dev"
Version is overwritten at build time via -ldflags "-X github.com/nixrajput/siphon/internal/cli.Version=..."
Functions ¶
func Execute ¶
func Execute() int
Execute runs the root command using stdout/stderr and returns the POSIX exit code. It is the only function main() calls.
If the verb returns a typed *errs.Error, Execute reports its Code via the exit-code taxonomy (§4.2 of the spec). Untyped errors fall back to CodeUser (1).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.