Skip to content

Feature request: add support for command aliases #219

Description

@nadavspi

It'd be helpful to have a way to define short names for commands without registering two commands. Something to the effect of [{:cmds ["new"] :fn new :alias :n}].

Equivalent feature(s) in clap:

https://docs.rs/clap/latest/clap/struct.Command.html#method.alias
https://docs.rs/clap/latest/clap/struct.Command.html#method.visible_alias

Discussed here: https://clojurians.slack.com/archives/C03KJHCNZ99/p1786740177639309

Thanks!

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