zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 86 forks source link

CLI options are not alphabetically sorted making help hard to navigate #1903

Open t1m0thyj opened 2 years ago

t1m0thyj commented 2 years ago

I think alphabetical menu is a good idea if universally applied. ZOSMF CONNECTION OPTIONS, RESPONSE FORMAT OPTIONS, and OPTIONS are also non-alphabetical.

CommandPreparer.appendAutoOptions occurs in logic after the new CommandPreparer.appendPassOnOptions. Perhaps this could be adjusted, but I'm unsure of the implications. passOn has a merge behavior and changing the ordering might be non-trivial. Is it acceptable to address menu organization as a separated issue?

_Originally posted by @dkelosky in https://github.com/zowe/imperative/pull/721#discussion_r835240080_

zFernand0 commented 8 months ago

I believe this might be a good first issue against the next branch 😋 Contributors only need to look for any option definition and make sure to sort by option name.