Documentation
¶
Overview ¶
Package cli implements atago's command-line interface: subcommand dispatch and the mapping from results to exit codes.
Index ¶
Constants ¶
const ( ExitOK = 0 // all scenarios passed ExitFailures = 1 // one or more scenarios failed ExitParse = 2 // spec parse error ExitConfig = 3 // configuration error ExitExec = 4 // execution error ExitInternal = 5 // internal error ExitSecurity = 6 // security policy violation )
Exit codes. These are part of the stable user-facing contract.
const ListSchemaVersion = "1"
ListSchemaVersion versions the `atago list --json` contract independently of the manifest, since it is a distinct (smaller) projection.
const RerunStateSchemaVersion = "1"
RerunStateSchemaVersion versions the last-failed state file.
Variables ¶
This section is empty.
Functions ¶
func Subcommands ¶ added in v0.10.0
func Subcommands() []string
Subcommands returns the atago subcommand names in dispatch order. It is derived from the same table Main dispatches through, so documentation-drift tests can check a doc's advertised subcommand list against the real inventory without maintaining a second hand-written list.
Types ¶
This section is empty.