ahoy-cli / ahoy

Create self-documenting cli programs from YAML files. Easily wrap bash, grunt, npm, docker, (anything) to standardize your processes and make the lives of the people working on your project better.
http://ahoycli.com/
MIT License
265 stars 36 forks source link

Command aliases #110

Closed AlexSkrypnyk closed 1 month ago

AlexSkrypnyk commented 1 year ago

Is your feature request related to a problem? Please describe. Sometimes, it is required to have commands to have multiple aliases.

Describe the solution you'd like I'd like to have an alias or aliases field for each command to be able to specify one or more aliases.

Describe alternatives you've considered Create another Ahoy command and call the original one. But this will be creating sub-processes. And also will be shown as a separate command when calling ahoy.

hanoii commented 1 year ago

I'd also like this.

ocean commented 1 year ago

Cool, this sounds like a good idea, thanks for the suggestion and support @AlexSkrypnyk and @hanoii

I'll have more of a think about this, no short term promises at this stage 😄

ocean commented 1 month ago

Shipped! 🚢

Thanks for the push @AlexSkrypnyk and @hanoii 🙌

Small readme update about the aliases here https://github.com/ahoy-cli/ahoy#command-aliases

A documentation update is under way as well.