-
Notifications
You must be signed in to change notification settings - Fork 173
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
Reorder and clean create help output #2633
Comments
I propose we do this asap - the examples above are from working code. @mreferre @cormachogan what do you think of the revise output above? |
Also, in the "basic help" it would be nice to see an example of such command perhaps using the same syntax we are currently using in the alpha / beta workflows. e.g. :
Ideally it should be the bare minimum to get a default VCH deployed. Having something like this for extended options it would be too much as it would require a too long example for it to be meaningful but for standard help it may be a good way to start "shaping" a proper basic command that then the user can build upon. |
@mreferre thanks! @emlin @andrewtchin I don't think we can express example commands using urfav/cli at the moment. Do you know if the template mechanism allows for such? |
So you mean to derive example commands from command flags? I don't think there is such functions. |
@emlin As a follow up there is a I think it'll definitely be worth us creating a PR for urfave/cli that parses the various description strings for newlines and tabs and applies suitable indentation. |
At the moment there's a plethora of options to create, many of which are not needed for simple deployments.
We have an advanced help, however there's then little to no consistency in the ordering or argument and definitely none of the standard UX style mechanisms that make reading comprehension easier such as grouping of related flags and breaks between groups.
If we consider the normal help output to be as much a high level index as anything else and make the existence of advanced help much more explicit, then we can likely make this significantly more user friendly.
I've commented on urfave/cli#259 - we may have to create a PR for this as our args are getting incomprehensible.
Working example - concise:
Advanced
The text was updated successfully, but these errors were encountered: