komorebi icon indicating copy to clipboard operation
komorebi copied to clipboard

[FEAT]: Alphabetize/organize `komorebic --help` output

Open maxbane opened this issue 2 years ago • 1 comments

Currently komorebic --help prints a list of commands in a random order, which makes it difficult to scan through them when looking for something. It would be helpful if the list of commands were printed in alphabetical order.

Alternatively, if you wanted to get fancy, you could divide the commands into different sections (e.g., those related to focus, those related to layouts, etc.) and print these out with separate section headers, alphabetized within each section.

I just feel like there are a ton of commands now, so it would make sense to give some thought to readability/scanability when listing them :)

maxbane avatar Jan 23 '23 15:01 maxbane

https://github.com/clap-rs/clap/issues/1553 once this lands in clap I think the grouping is a great idea!

LGUG2Z avatar Feb 12 '23 18:02 LGUG2Z