-
-
Notifications
You must be signed in to change notification settings - Fork 835
Open
Labels
featureNew feature, enhancement or requestNew feature, enhancement or request
Description
Feature Request: Add support for command and subcommand aliases
As discussed in #132 (comment), there's a need for official alias support in Typer.
Examples needed:
- Command aliases:
list→ls,remove→rm - Subcommand aliases:
versions→ver→v,documents→docs
Current workaround:
@app.command("list")
@app.command("ls", hidden=True) # Hidden aliasRequested feature:
Official alias support that doesn't clutter help output and provides a clean API for creating command shortcuts.
This would bring Typer in line with other popular CLI tools that support aliases natively.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature, enhancement or requestNew feature, enhancement or request