Documentation
¶
Index ¶
- Constants
- Variables
- func DictionarySize(cmd *cobra.Command)
- func GetIDs(cmd *cobra.Command) ([]uint, error)
- func GetParallel(cmd *cobra.Command) (int, error)
- func GetTitles(cmd *cobra.Command) ([]string, error)
- func IDs(cmd *cobra.Command)
- func InvalidFlagError(flag string, message string) error
- func Parallel(cmd *cobra.Command)
- func ParsingFlagError(flag string, err error) error
- func Titles(cmd *cobra.Command)
Constants ¶
View Source
const ( ParallelKey = "parallel" DictionarySizeKey = "dictionary-size" DictionarySizeDefault = 50000 IDsKey = "ids" TitlesKey = "titles" )
Flags and default values for keys used in the various CLIs.
Variables ¶
View Source
var ErrInvalidFlag = errors.New("invalid flag")
Functions ¶
func DictionarySize ¶
func InvalidFlagError ¶ added in v0.2.0
func ParsingFlagError ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.