Documentation ¶
Index ¶
- Constants
- func ColorizeCommand(_command string) string
- func ExitAndLog(code int)
- func GetUserInput(_prompt string) string
- func GetUserInputChoice(_prompt string, _selection1 string, _selection2 string) string
- func PrintLine(_line string, _level outputType)
- func Printf(_line string, _level outputType)
Constants ¶
View Source
const ( ERROR outputType = 0 WARN outputType = 1 INFO outputType = 2 DEMO outputType = 3 CONFIDENTIAL outputType = 4 )
outputTypes that can be printed
Variables ¶
This section is empty.
Functions ¶
func ColorizeCommand ¶
ColorizeCommand prints a dit command that will have a certain color to highlight it
func GetUserInput ¶
GetUserInput will prompt the user if there are more possibilies than 2
func GetUserInputChoice ¶
GetUserInputChoice will prompt the user if there are only two choices (like a or b)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.