Expand description
GENERATED FILE — DO NOT EDIT BY HAND.
The entire service command tree, compiled from the committed
Discovery index (src/discovery/*.json) by
scripts/generate-commands.mjs. The index is refreshed daily by
.github/workflows/discovery.yml; after any index change,
regenerate with node scripts/generate-commands.mjs (or run it
with --check, which exits 1 when this file is stale).
Generated at: 2026-10-08T11:21:45.619Z — the index manifest’s own timestamp, so regeneration is byte-identical until the index actually changes.
Shape:
- one top-level subcommand per service;
- nested resources nest as subcommands (gmail -> users -> messages), verbatim id segments, never flattened;
- one leaf per method. A leaf’s clap name IS its full dotted
method id (
gmail.users.messages.list), with a visible alias of the bare method name, so dispatch resolves the id without reconstructing paths andgrr schemaself-documents every callable id; - every leaf flag set = one typed flag per Discovery parameter
(camelCase -> kebab-case; integer -> i64; boolean -> presence
flag; repeated -> repeatable; enum -> possible values; required
-> required) plus the escape hatches
--params,--body-file,--query,--dry-run,-f/--format.
Honest limitation: request bodies are NOT typed. Discovery’s request
schemas are not part of the distilled index, so POST/PATCH/PUT
bodies pass through --params / --body-file verbatim.
Numbers: 14 services, 401 methods, 401 leaves, 96 resource groups, 994 typed flags.
Modules§
Constants§
- GENERATED_
AT - When the generator last ran, taken from the Discovery index manifest’s own timestamp so it only moves when the index moves.