Skip to content

Support arg synonyms? #64

@xparq

Description

@xparq

E.g. declaring that -C is an alias of --cfg.

  • Could be very handy for apps, to offload the processing (esp. consistently handling override precedence!...)
  • But normalizing the query interface across them (e.g. to "only ask about the long form") would open a whole new can of worms for the current simplistic level of implementation, which doesn't even have a unified representation for short/long opts...
  • Also, what if more than 2 are the same? (The declaration method alone could become too complex in no time...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions