Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagSet ¶
type FlagSet interface { Name() string Parse(args []string) error BoolVar(target *bool, displayName string, shortFlag string, usage string) (TargetVariable[bool], error) CountVar(target *int, displayName string, shortFlag string, usage string, maxAllowed int) (TargetVariable[int], error) StringVar(target *string, displayName string, shortFlag string, usage string) (TargetVariable[string], error) }
func NewFlagSet ¶
type TargetVariable ¶
Click to show internal directories.
Click to hide internal directories.