You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can add hidden aliases for arguments: thanks for this, it's a great option that I regularly use!
For programs using subcommands though, it can sometimes be nice to also have shorthands for these subcommands.
For instance, docker container ls is the 'official' command (shown when doing docker container -h), but docker container list also works.
Some other examples:
ollama serve = ollama start
rclone completion = rclone genautocomplete
...
If this is too complicated for adding, or you think it's not within scope/the envisioned future of the library, please feel free to completely ignore me. I just thought it could be a nice addition (at least I have some use cases for it) that you'd maybe want to know about :)
Thanks your considerations!
Br,
J
The text was updated successfully, but these errors were encountered:
JohannesBe
changed the title
Feature request: allow subparser (hidden) aliases
Feature request: subparser (hidden) aliases
Jun 15, 2024
Currently we can add hidden aliases for arguments: thanks for this, it's a great option that I regularly use!
For programs using subcommands though, it can sometimes be nice to also have shorthands for these subcommands.
For instance,
docker container ls
is the 'official' command (shown when doingdocker container -h
), butdocker container list
also works.Some other examples:
ollama serve
=ollama start
rclone completion
=rclone genautocomplete
If this is too complicated for adding, or you think it's not within scope/the envisioned future of the library, please feel free to completely ignore me. I just thought it could be a nice addition (at least I have some use cases for it) that you'd maybe want to know about :)
Thanks your considerations!
Br,
J
The text was updated successfully, but these errors were encountered: