Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagTag = "flag" UsageTag = "usage" DefaultTag = "default" FlagError errors.Kind = "flag error" ErrNilFlagSet errors.Msg = "FlagSet must not be nil" )
View Source
const Unsupported = "<unsupported>"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cli ¶
type Cli struct {
// contains filtered or unexported fields
}
func CommandLine ¶
func CommandLine() *Cli
CommandLine calls Flags with cli.CommandLine as FlagSet and os.Args[1:] as args. See Flags for further details.
Click to show internal directories.
Click to hide internal directories.