Skip to main content

commands

Function commands 

Source
pub fn commands<S: CliToolHost>(
    menu: &'static [&'static str],
) -> Vec<CommandSpec<S>>
Expand description

app.installCommandLineTool and app.uninstallCommandLineTool in menu (macOS: the app menu, &["<App name>"]), and the menu-less query app.commandLineToolStatus. Each returns the outcome as JSON with a message for a toast.