Repository navigation
Display plugin commands alphabetically under help - #3825
Conversation
|
As per #3784 comment, about adding Should I edit all the plugins and add |
|
Super nice! Thanks for the PR @darkowlzz 🎉 That looks fantastic! 💯
I would say that we could leave that out for now. Maybe we can add this later on. |
There was a problem hiding this comment.
Thanks again for the PR @darkowlzz! That looks really good 👍
I just looked through the code (haven't tested it yet) and saw that this list is only shown when someone runs serverless help --plugins. Could we update it so that it replaces the current list when running serverless help (so the generateMainHelp())?
AFAIK that's what @brianneisler proposed in #3784
Edit: Just looked into #3784 again (see comment below).
|
@darkowlzz I just read through the issue again. I'll sync with @brianneisler to see what he's exactly after (ordering by default vs. having this as an option). I'll get back here once I know more. 👍 |
pmuens
left a comment
There was a problem hiding this comment.
Hey @darkowlzz thank you very much for this PR!
I talked to @brianneisler recently and we came to the conclusion that we should rename the option from --plugins to --verbose.
I updated the PR accordingly and added the requested command sorting.
I tested it thoroughly and it's GTM from my side. Will merge it once the build passes ![]()
Thank you very much for working on this! 👍
What did you implement:
Closes #3784
How did you implement it:
This change adds a new option to
helpcommand,--verbose.sls help --verboseextracts the loaded commands and arranges them according to their plugin name and displays all the commands grouped under their plugin names.Commit messages should be helpful enough to understand the incremental changes.
How can we verify it:
Todos:
Is this ready for review?: YES
Is it a breaking change?: NO