Skip to main content

run

Function run 

Source
pub async fn run(cmd: PluginCommand) -> Result<()>
Expand description

Dispatch a parsed hm plugin <subcommand> to its handler.

§Errors

Surfaces registry-load failures from PluginRegistry::load for list/info, “no such plugin” for info <unknown>, network/IO failures and SHA-256 mismatches for install, and “no plugin file” for remove.