Expand description
grr — Google tools from the terminal, at maximum performance.
One binary, one login, every service. The command surface has two layers:
- a thin, hand-written set of account-level commands —
auth,api,mcp,transport,schema,completions,ask,skills— kept as clap derive types; - the ENTIRE generated service command tree, built from the committed
Discovery index into
commands/generated.rs, because the index is the single source of truth for the CLI surface and it changes daily.
Wiring: clap’s derive cannot express a runtime-generated tree, and
external_subcommand would forfeit typed flags and per-leaf --help.
So [root_command] composes the derive’s static commands with the
generated service commands onto ONE Command, parses once with
get_matches(), and dispatch matches the static names first —
everything else is a generated service and goes through
gen_dispatch::dispatch_with_profile, which shares the call path with
grr api.