Documentation ¶
Index ¶
- func AddFlag(flags *pflag.FlagSet)
- func Enable()
- func Enabled() bool
- func GetBool(input Input) (a bool, err error)
- func GetCert(input Input) (a string, err error)
- func GetIPNet(input Input) (a net.IPNet, err error)
- func GetInput(q string) (a string, err error)
- func GetInt(input Input) (a int, err error)
- func GetMultipleOptions(input Input) ([]string, error)
- func GetOption(input Input) (a string, err error)
- func GetPassword(input Input) (a string, err error)
- func GetString(input Input) (a string, err error)
- func PrintHelp(help Help) error
- type Help
- type Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled retursn a boolean flag that indicates if the interactive mode is enabled.
func GetMultipleOptions ¶
Asks for multiple options selection
func GetPassword ¶
Gets password input from the command line
Types ¶
Click to show internal directories.
Click to hide internal directories.