Documentation ¶
Index ¶
- func ChoosePath(path string) (string, error)
- func CommonFlags() []cli.Flag
- func GetDefaultConfigPath() string
- func GetUserInput(asking string, masked bool) (userInput string, err error)
- func ToMap(in interface{}, tag string) (map[string]interface{}, error)
- func ValidateNotEmptyString(ctx *cli.Context, flags ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChoosePath ¶
Choose path for the configuration file. Choose path` if supplied otherwise set path within default user directory
func CommonFlags ¶
func CommonFlags() []cli.Flag
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
Return default location within user home directory ($HOME/.config/cleura/config)
func ValidateNotEmptyString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.