Documentation
¶
Index ¶
- func EnsureArgs(fl *pflag.FlagSet) []string
- func EnsureNoArgs(fl *pflag.FlagSet)
- func EnsureSingleArg(fl *pflag.FlagSet) string
- func EnsureTwoArgs(fl *pflag.FlagSet) (string, string)
- func IsPath(f *pflag.Flag) bool
- func OptChoice(f *pflag.FlagSet, value *string, name, shorthand string, defaultValue string, ...)
- func SetPath(fl *pflag.FlagSet, name string)
- func SingleArgOrDefault(fl *pflag.FlagSet, def string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureArgs ¶
func EnsureNoArgs ¶
func EnsureSingleArg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.