abstract const classcamembert::ExecCmd

sys::Obj
  camembert::Cmd
    camembert::ExecCmd

Executable command

callback

Source

abstract |Console? callback()

cmdKey

Source

abstract Str cmdKey()

A unique key for the command

defaultCmd

Source

abstract CmdArgs defaultCmd()

Default command args

folder

Source

abstract File folder()

the folder where the command will be executed

interaction

Source

abstract ExecCmdInteractive interaction()

How interactive is the command (can user review/edit the command)

invoke

Source

virtual override Void invoke(Event event)

itemFinder

Source

abstract |Str->Item?? itemFinder()

persist

Source

abstract Bool persist()

Persist to file or not - Whether to remember across restarts, or just for this session

variables

Source

virtual Str:Str variables()

The variables for this command (Ex: "env_home" : "/tmp/...")