Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
'hugo help' command undocumented in --help output #2349
The final line printed by
Generally speaking, new users can feel "lost in a thicket" of new syntax. To help promote Hugo to new users, IMO
Some of the discussion in this Cobra PR seems relevant.
This appears to be the opposite situation, but I agree
I'm looking for the right place to make this change right now, but I think I need to understand Cobra better.
I can use the Usage "override" to implement this in
@traveller42 the second option (adding to Cobra "the ability to include
Part of the above comments can be rephrased as follows:
"If other top-level commands exist, then Cobra should include Help in the displayed list of Available Commands."
BTW, as I understand it, Cobra displays a (different) list of Available Commands (among other things) when Help is invoked at each level, not just at the top level of an application (i.e., for its root command).
Steve Francia IMO didn't aim his comments (above) at the Help information provided for lower levels (e.g., regarding applications' sub-subcommands). An example would be
referenced this issue
Nov 18, 2016
@bep sorry for bothering you, but b7a672f didn't actually fix this issue.