Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag struct {
AppName string // The application name to use when printing the version
}
Flag provides a standardised version flag.
func (*Flag) AlternativeName ¶
AlternativeName returns the alternative flag name (without leading hyphen).
func (*Flag) Description ¶
Description returns a one-line description of this flag.
Click to show internal directories.
Click to hide internal directories.