Documentation
¶
Index ¶
- Variables
- func Fatal(v ...interface{})
- func Fatalf(format string, a ...interface{})
- func GetOutput() io.Writer
- func IsVerbose() bool
- func MarkFlagsDirname(command *cobra.Command, dirnameFlags ...string)
- func MarkFlagsFilename(command *cobra.Command, filenameFlags ...string)
- func MarkFlagsRequired(command *cobra.Command, requiredFlags ...string)
- func Printf(format string, a ...interface{})
- func Println(a ...interface{})
- func PromptForBoolean(prompt string, defaultValue *bool) bool
- func PromptForString(prompt string, defaultValue string, matchers ...func(string) error) string
- func SetOutput(writer io.Writer)
- func SetVerbose(value bool)
- func VPrintf(format string, a ...interface{})
- func VPrintln(a ...interface{})
- type UiSpinner
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IsTerminalOutput bool IsTerminalInput bool )
Functions ¶
func Fatalf ¶
func Fatalf(format string, a ...interface{})
* Prints the message and exits with an error
func MarkFlagsDirname ¶
func MarkFlagsFilename ¶
func MarkFlagsRequired ¶
func PromptForBoolean ¶
func PromptForString ¶
func SetVerbose ¶
func SetVerbose(value bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.