Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.5k stars 61 forks source link

Sort commands by name in help text #134

Closed CartBlanche closed 1 year ago

CartBlanche commented 1 year ago

When you have lots of commands, having an alphabetical list is easier to read through, so you can find what you are looking for faster.

Discussed and Closes #133

what-the-diff[bot] commented 1 year ago

PR Summary

Tyrrrz commented 1 year ago

You should order it when the help text is rendered here, instead: https://github.com/Tyrrrz/CliFx/blob/a09818d4526fdb076449469b45b79b4eedf1409c/CliFx/Formatting/HelpConsoleFormatter.cs#L368-L370

CartBlanche commented 1 year ago

@Tyrrrz thanks for the correction. Done.