Documentation ¶
Overview ¶
Package command implements functions for responding to user input and dispatching to appropriate backend commands.
Index ¶
Constants ¶
View Source
const ( TerminalBlueEscapeCode string = "\033[34m" TerminalWhiteEscapeCode string = "\033[37m" )
Variables ¶
This section is empty.
Functions ¶
func CommandFunc ¶
func CommandFunc(fn func() error) cmdfunc
Types ¶
type ById ¶
type ById []*api.Breakpoint
type Commands ¶
type Commands struct {
// contains filtered or unexported fields
}
func DebugCommands ¶
Returns a Commands struct with default commands defined.
func (*Commands) Find ¶
Find will look up the command function for the given command input. If it cannot find the command it will default to noCmdAvailable(). If the command is an empty string it will replay the last command.
type ExitRequestError ¶
type ExitRequestError struct{}
func (ExitRequestError) Error ¶
func (ere ExitRequestError) Error() string
Click to show internal directories.
Click to hide internal directories.