Skip to main content

Module dispatcher

Module dispatcher 

Source
Expand description

Subcommand-plugin dispatcher.

Routes hm <unknown-verb> <args...> to the registered plugin whose manifest’s SubcommandSpec.verb matches the first argv token. The plugin parses its own argv internally; the host forwards the raw args.

Functions§

run
Entry point: invoke a plugin-provided subcommand. argv is the captured external_subcommand args INCLUDING the verb itself (clap’s convention). Returns the process exit code.