Closed fiatjaf closed 8 years ago
I've been thinking that too. I really don't like how it is currently.
Perhaps it only does that if the length of the help is greater than the screen height? How does that sound?
Is that possible? Sounds like an awesome solution.
Yeah should be pretty easy.
Meanwhile, how do I read the help for these subgrouped commands? Should I ask this on StackOverflow?
Yeah - that would be a good SO question. But quick answer:
help [command]
such as:
help type
Any reason you closed this? I still would like to implement this!
I related this to https://github.com/dthree/vorpal/issues/66 in my mind, and thought they were treating of the same issue, but now that I reread what I had written I see this is a totally different issue.
Okay cool.
Your journey is over. Fixed in v1.10.5
.
@dthree Is it possible to customize the text attached to one command group?
I mean, Instead of
Command Groups:
type * 2 sub-commands.
record * 3 sub-commands.
having
Command Groups:
type * Relative commands to type. (2 sub-commands.)
record * Perform operations on records . (3 sub-commands.)
(tell me if it's better to open a new issue)
My journey trying to read the help for my own subcommands:
I still don't know how to do it, but perhaps vorpal shouldn't group the help for commands below a threshold? Maybe if the command group does not have more than 5 commands grouped than the help for them all will be shown on
help
? Perhaps this number is configurable? Or, better, we should have to group commands explicitly (or maybe we could ungroup explicitly)?