# Functions
AddColorFunctions invokes callback for each colorize functions.
AddColorFunctionsForCobra adds colorize functions to cobra, so that they can be used in usage or help.
BeautifyCobraUsageAndHelp beautifies cobra usages and help.
CheckCommandArgsAndMayPrintHelp checks whether user passes enough number of arguments.
PrintTable accepts a matrix of strings and print them as ASCII table to terminal.
Prompt accepts input from console by user.
PromptForAnswerOrAbortError accepts string from console by user, generates AbortError if user does not input the pre-defined answer.
PromptForConfirmAnswer accepts string from console by user, default to empty and only return true if the user input is exactly the same as pre-defined answer.
PromptForConfirmNo accepts yes / no from console by user, default to Yes and only return true if the user input is No.
PromptForConfirmOrAbortError accepts yes / no from console by user, generates AbortError if user does not input yes.
PromptForConfirmYes accepts yes / no from console by user, default to No and only return true if the user input is Yes.
PromptForPassword reads a password input from console.
ReadIdentityFileOrPassword is ReadIdentityFileOrPassword.
SuggestionFromFormat creates a suggestion from a format.
SuggestionFromString creates a suggestion from string.
SuggestionFromTemplate creates a suggestion from go template.
# Constants
pre-defined ascii art strings.
# Variables
ColorCommand is the ansi color formatter for commands.
ColorErrorMsg is the ansi color formatter for error messages.
ColorKeyword is the ansi color formatter for cluster name.
ColorSuccessMsg is the ansi color formatter for success messages.
ColorWarningMsg is the ansi color formatter for warning messages.
# Structs
SSHConnectionProps is SSHConnectionProps.