Documentation
¶
Index ¶
Constants ¶
const ( FlagHelp = "help" FlagSpace = "space" FlagOutputFormat = "output-format" FlagOutputFormatLegacy = "outputFormat" FlagNoPrompt = "no-prompt" )
flags for command line switches
const ( OutputFormatJson = "json" OutputFormatBasic = "basic" OutputFormatTable = "table" // TODO I'd like to rename this to just "standard" or "default"; discuss with team )
const (
ExecutableName = "octopus"
)
Variables ¶
This section is empty.
Functions ¶
func IsProgrammaticOutputFormat ¶ added in v0.2.0
IsProgrammaticOutputFormat tells you if it is acceptable for your command to print miscellaneous output to stdout, such as progress messages. If your command is capable of printing such things, you should check the output format first, lest you print a progress message into the middle of a JSON document by accident.
Types ¶
This section is empty.