Skip to main content

command

Function command 

Source
pub fn command(
    actor: Actor,
    id: &str,
    title: &str,
    group: &str,
    via: &str,
    args: &Value,
    result: &Result<Value, String>,
)
Expand description

Records a command run: by whom, how (via: menu, key, search, title bar, agent), with what arguments and what came of it.