Documentation ¶
Index ¶
- Variables
- func BoolFlag(cmd *cobra.Command, flagName string, tracker *analytics.Tracker, ...) (bool, error)
- func IntFlag(cmd *cobra.Command, flagName string, tracker *analytics.Tracker, ...) (int, error)
- func StringFlag(cmd *cobra.Command, flagName string, tracker *analytics.Tracker, ...) (string, error)
- func StringFlagOptional(cmd *cobra.Command, flagName string) string
- func StringSliceFlag(cmd *cobra.Command, flagName string, tracker *analytics.Tracker, ...) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParsingFlag = errors.New("error while parsing flag")
Functions ¶
func StringFlag ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.