Documentation
¶
Overview ¶
Package cmd implements the valsenv command-line interface using cobra.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() int
Execute runs the root command and maps the resulting error to a process exit code, preserving the historical contract:
0 -> success 1 -> runtime/render failure (fail-closed; nothing written on error) 2 -> usage error (missing/unknown command, unknown flag, unexpected arg)
SilenceErrors is set, so Execute is responsible for printing errors to stderr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.