Expand description
Dispatch for the generated service tree.
The tree itself (src/commands/generated.rs) is pure clap structure —
generated from the Discovery index, no runtime logic. This module is the
runtime half: walk the matched subcommand chain to the leaf, resolve the
method id against the Discovery index, turn the typed flags back into a
parameter map under their ORIGINAL camelCase names, and hand everything
to the one shared call path (api::call_method) that grr api call
also uses.
Functions§
- dispatch_
with_ profile - Dispatch a generated service subcommand with a safety profile — the seam
for
cli.rs(the only production entry point). The same gate thegrr api callflags and thegrr mcpserver honor.