Documentation
¶
Overview ¶
Package cli implements the spackle command line: subcommand dispatch, flag parsing, help text and exit codes.
Index ¶
Constants ¶
const ( ExitOK = 0 // ran, nothing at or above the failure threshold ExitFindings = 1 // ran, findings at or above the failure threshold ExitUsage = 2 // bad flags, bad config, or a refused target ExitError = 3 // the run itself failed )
Exit codes. They are part of the CLI contract (see docs/ci.md).
const AuthorizedUse = "Authorized use only. Point Spackle at systems you own or have written permission to test."
AuthorizedUse is shown at the top of help output and in the README.
Variables ¶
This section is empty.