Documentation ¶
Index ¶
Constants ¶
View Source
const ( CREDS_CMD = "credential" MNET_CMD = "net" PROCESS_CMD = "process" )
Variables ¶
View Source
var ROOT_SUGGESTIONS = []prompt.Suggest{ {Text: modes.JUMP_CMD, Description: "Mode jumping menu"}, {Text: modes.EXIT_CMD, Description: "Exit mcli"}, }
Functions ¶
This section is empty.
Types ¶
type RootMode ¶
Root cmd is meant to be the first menu/cmd in the marconi cli
func NewRootMode ¶
Create a new root cmd struct, use this to create a RootMode otherwise suggestion and handlers wont be properly initialized
func (*RootMode) HandleCommand ¶
Click to show internal directories.
Click to hide internal directories.