-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update default help mode to 'options' and update error help message #5212
Conversation
Hi @Saurabh7019, I believe you should target v7 branch, as this is a breaking change. |
Aside from that, thanks!! We'll review it asap! |
Thank you, Martin. I have changed the base to v7 now. |
c79fb82
to
68fea7b
Compare
@Saurabh7019 thank you for your awesome work. You Rock 🤩. Checking the related issue I think the discussion is still open by the response given by @waldekmastykarz. |
@Saurabh7019 for now let's update this PR only to set the new default help mode. |
@Saurabh7019 thanks for the quick update. Could you please also align it with the latest v7 so that we may proceed with this PR👍 |
Done! |
934602e
to
b7ec1d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Saurabh7019 this is a good start but there are some places we also need to update like:
- in the
cli config
description table we need to update the default value fromfull
tooptions
`helpMode`|Defines what part of command's help to display. Allowed values are `options`, `examples`, `remarks`, `response`, `full`|`full` - the same goes for the
_global.mdx
this is the part of the help we include to every command. There we also need to update the description that now the default option will beoptions
notfull
: Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are `options`, `examples`, `remarks`, `response`, `full`. Default is `full`.
Oh, I could have easily avoided the oversight if I hadn't been so eager. I will make the suggested changes now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@Saurabh7019 thank you for your another awesome contribution. You rock 🤩
ready to merge 🚀 |
merged manually. Thank you for your awesome work 👏 |
Closes #5182