Documentation
¶
Overview ¶
Package cli maps mutti's commands and flags onto the use cases in app and renders their results.
Index ¶
Constants ¶
View Source
const ( CodeUsage = "usage" // wrong flags or arguments CodeConfirmationRequired = "confirmation-required" // destructive without --yes and no terminal CodeError = "error" // a failure without a code of its own )
Error codes of the command line itself; the others are app's.
View Source
const ( ExitError = 125 // mutti itself failed ExitCheck = 1 // a check (doctor) found problems )
Exit codes of mutti's own failures, following Docker's convention.
View Source
const CodePortInUse = "port-in-use"
CodePortInUse means mutti serve cannot listen on its port.
View Source
const SchemaVersion = 1
SchemaVersion of the --json output. Fields are only ever added; a breaking change bumps it.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.