Pattern: The CLI exposes Google API standard camelCase names rather than CLI-idiomatic kebab-case flags.
Findings:
While a spot fix exists using visible_alias for kebab-case names on some commands, the CLI likely generates bounds or reads arguments mapped directly from Discovery Document properties. Therefore, many nested configuration flags and values will expect camelCase input from the user (e.g., --userIp vs --user-ip), which is highly irregular for a standard CLI tool.
Recommendation: To prevent ongoing whack-a-mole patching, a generator-level heck::ToKebabCase conversion or a global clap pre-processor should be implemented to automatically normalize input flags to kebab-case globally.
Pattern: The CLI exposes Google API standard camelCase names rather than CLI-idiomatic kebab-case flags.
Findings:
While a spot fix exists using
visible_aliasfor kebab-case names on some commands, the CLI likely generates bounds or reads arguments mapped directly from Discovery Document properties. Therefore, many nested configuration flags and values will expectcamelCaseinput from the user (e.g.,--userIpvs--user-ip), which is highly irregular for a standard CLI tool.Recommendation: To prevent ongoing whack-a-mole patching, a generator-level
heck::ToKebabCaseconversion or a globalclappre-processor should be implemented to automatically normalize input flags to kebab-case globally.