Documentation
¶
Index ¶
- func CheckError(err error)
- func GetFileList(args []string) []string
- func GetFlagBool(cmd *cobra.Command, flag string) bool
- func GetFlagCommaSeparatedInts(cmd *cobra.Command, flag string) []int
- func GetFlagCommaSeparatedStrings(cmd *cobra.Command, flag string) []string
- func GetFlagFloat64(cmd *cobra.Command, flag string) float64
- func GetFlagInt(cmd *cobra.Command, flag string) int
- func GetFlagInt64(cmd *cobra.Command, flag string) int64
- func GetFlagNonEmptyString(cmd *cobra.Command, flag string) string
- func GetFlagNonNegativeFloat64(cmd *cobra.Command, flag string) float64
- func GetFlagNonNegativeInt(cmd *cobra.Command, flag string) int
- func GetFlagPositiveFloat64(cmd *cobra.Command, flag string) float64
- func GetFlagPositiveInt(cmd *cobra.Command, flag string) int
- func GetFlagRune(cmd *cobra.Command, flag string) rune
- func GetFlagSemicolonSeparatedStrings(cmd *cobra.Command, flag string) []string
- func GetFlagString(cmd *cobra.Command, flag string) string
- func GetFlagStringSlice(cmd *cobra.Command, flag string) []string
- func ReadKVs(file string, ignoreCase bool) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error)
func GetFileList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.