neonrust / epm

Command-line TV episode calendar/manager/scheduler/tracker (EPisode Manager)
MIT License
0 stars 0 forks source link

Add possibility to create "macro" (or alias) commands #13

Open neonrust opened 2 years ago

neonrust commented 2 years ago

For "baking" a certain command line into an easily issued command:

> epm config show --alias=frobnicate --args '-a -p -I'
> epm frobnicate
.. output of "show -a -p -I" ...

Probably, these aliases can't accept additional options (b/c options are looked up based on the command used). Arguments should be possible without hassle.

neonrust commented 2 years ago

It could be argued that this is over-engineering. We're not building another git here ;)