Documentation ¶
Index ¶
- Constants
- func CI(opt interface{}, changed bool) error
- func LogFile(opt interface{}, changed bool) error
- func LogFormat(opt interface{}, changed bool) error
- func LogLevel(opt interface{}, changed bool) error
- func LogPath(opt interface{}, changed bool) error
- func NoColor(opt interface{}, changed bool) error
- func SetupPrinter(flags *pflag.FlagSet) error
- func Silent(opt interface{}, changed bool) error
- func Verbose(opt interface{}, changed bool) error
Constants ¶
View Source
const ( CIFlag = "ci" LogFileFlag = "log-file" LogFileShorthand = "l" LogFormatFlag = "log-format" LogFormatShorthand = "f" LogLevelFlag = "log-level" LogPathFlag = "log-path" NoColorFlag = "no-color" SilentFlag = "silent" SilentShorthand = "s" VerboseFlag = "verbose" VerboseShorthand = "v" LogFormatJSON = "json" LogFormatPretty = "pretty" )
Variables ¶
This section is empty.
Functions ¶
func SetupPrinter ¶
SetupPrinter - configures stdout and log options with given FlagSet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.