Documentation
¶
Overview ¶
Package flags defines every command-line flag the outtake CLI accepts, one file per command. The commands under internal/cmd bind them and read the result; a flag that overrides configuration also applies that override to the loaded configuration, so no command repeats the rule.
Index ¶
Constants ¶
View Source
const ( // FlagJSON outputs version information in JSON format. FlagJSON = "json" // FlagVerbose outputs multi-line detailed version information. FlagVerbose = "verbose" )
The names of the version command flags.
View Source
const FlagListen = "listen"
FlagListen is the name of the listen address override.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listen ¶
type Listen struct {
// Addr is the address the flag set carries, empty when it was not passed.
Addr string
}
Listen is the address override the server commands share, applied over the configured listen address.
Click to show internal directories.
Click to hide internal directories.