Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CurrentTitleColor = color.FgDefault CurrentFlagTitleColor = color.FgGreen // CurrentHiddenColor the print color for left part of a hidden opt CurrentHiddenColor = color.FgDarkGray // CurrentDeprecatedColor the print color for deprecated opt line CurrentDeprecatedColor = color.FgDarkGray CurrentEnvVarsColor = color.FgLightGray // CurrentDescColor the print color for description line CurrentDescColor = color.FgDarkGray // CurrentDefaultValueColor the print color for default value line CurrentDefaultValueColor = color.FgCyan // CurrentGroupTitleColor the print color for titles CurrentGroupTitleColor = color.FgWhite CurrentGroupTitleBgColor = color.BgDim )
Functions ¶
func SetUniqueWorker ¶
func UniqueWorker ¶
func WithConfig ¶
func WithHelpScreenSets ¶
func WithHelpScreenSets(showHelpScreen, showHitStates bool) wOpt
Types ¶
type HelpWriter ¶
type HelpWriter interface { io.Writer io.StringWriter }
HelpWriter needs to be compatible with io.Writer and io.StringWriter.
Click to show internal directories.
Click to hide internal directories.