Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdSymbolName = "Commands" DefaultPrompt = "gosh>" )
Variables ¶
View Source
var PluginsDir = plugins()
Functions ¶
Types ¶
type Command ¶
type Command interface { Name() string Usage() string ShortDesc() string LongDesc() string Exec(context.Context, []string) (context.Context, error) }
Command represents an executable a command
Click to show internal directories.
Click to hide internal directories.