Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentDir, _ = os.Getwd()
CurrentDir is the current directory where Merlin was executed from
View Source
var Debug = false
Debug puts Merlin into debug mode and displays debug messages
View Source
var MessageChannel = make(chan messages.UserMessage)
MessageChannel is used to input user messages that are eventually written to STDOUT on the CLI application
View Source
var Prompt *readline.Instance
Prompt is the command line interface prompt object
View Source
var Verbose = false
Verbose puts Merlin into verbose mode and displays verbose messages
Functions ¶
func Confirm ¶
Confirm reads in a string and returns true if the string is y or yes but does not provide the prompt question
func DisplayTable ¶
DisplayTable writes arbitrary data rows to STDOUT
func ExecuteCommand ¶
ExecuteCommand runs commands on the host operating system where the CLI is being used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.