Skip to content

Feature Request: Global Kebab-case Flag Normalization #45

@jpoehnelt

Description

@jpoehnelt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions