Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Title string `json:"title,omitempty"` Key string `json:"key,omitempty"` Type ActionType `json:"type,omitempty"` Text string `json:"text,omitempty"` App *Application `json:"app,omitempty"` Target string `json:"target,omitempty"` Exit bool `json:"exit,omitempty"` Reload bool `json:"reload,omitempty"` Args []string `json:"args,omitempty"` Extension string `json:"extension,omitempty"` Command string `json:"command,omitempty"` Params Params `json:"params,omitempty"` }
type ActionType ¶
type ActionType string
const ( ActionTypeRun ActionType = "run" ActionTypeOpen ActionType = "open" ActionTypeCopy ActionType = "copy" ActionTypeReload ActionType = "reload" ActionTypeEdit ActionType = "edit" ActionTypeExec ActionType = "exec" ActionTypeExit ActionType = "exit" )
type Application ¶
type CommandInput ¶
type CommandMode ¶
type CommandMode string
const ( CommandModeList CommandMode = "list" CommandModeDetail CommandMode = "detail" CommandModeTTY CommandMode = "tty" CommandModeSilent CommandMode = "silent" )
type CommandRef ¶
type CommandSpec ¶
type CommandSpec struct { Name string `json:"name"` Title string `json:"title"` Hidden bool `json:"hidden,omitempty"` Params []Param `json:"params,omitempty"` Mode CommandMode `json:"mode,omitempty"` }
type Manifest ¶
type Manifest struct { Title string `json:"title"` Description string `json:"description,omitempty"` Root []RootItem `json:"root,omitempty"` Commands []CommandSpec `json:"commands"` }
Click to show internal directories.
Click to hide internal directories.