Documentation
¶
Overview ¶
Package cli wires the cobra command tree. Commands return errors up to Execute, which renders them exactly once through internal/output and maps them to the process exit code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() int
Execute runs the CLI and returns the process exit code. SIGINT/SIGTERM cancel the command context, surfacing as ExitCancelled; any error is rendered exactly once via output.RenderError.
func NewRootCmd ¶
NewRootCmd builds the positronick root command with its persistent flags and all registered subcommands.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.