cliche icon indicating copy to clipboard operation
cliche copied to clipboard

Enum argument option in alphabetical order

Open viveshok opened this issue 5 years ago • 2 comments

Would it be possible / make sense to show enum argument options in alphabetical order?

When there's many options, I end up spending a few seconds to find what I'm looking for

image

we could keep the default the same (ordered by enum value), but add an argument to the decorator for this proposed option

viveshok avatar Mar 04 '21 13:03 viveshok

I had a go at this and optional args for the decorator in combination with all the dynamic stuff + argparse is hell... I haven't been able to get it to work unfortunately (even though the sorting itself is rather easy)

kootenpv avatar Mar 24 '21 10:03 kootenpv

ok thanks for trying 🙏🏻 not a big deal don't waste too much time

viveshok avatar Mar 24 '21 10:03 viveshok