Closed matt-oc closed 8 years ago
Hey, thanks!
I happened to have it planned this week to introduce a vorpal.help
method that will override the automated help. Would this work?
Yes that would probably work nicely, its non critical so I can push it out as an update. thanks
Sure, no problem. Will keep you informed.
Okay there's a new command, vorpal.help(fn)
, which lets you do a totally custom help menu. Available in v1.7.6
.
To access the list of commands registered to vorpal, it's this.commands
. You can play around with it from there.
Wiki: https://github.com/dthree/vorpal/wiki/API-|-vorpal#vorpalhelpfunction
Feel free to add clarity to them if you want.
Is there a way to have the help menu print without the ["your arg..."] appearing after the command? Fantastic cli tool but this little feature doesn't fit with our application. Any ideas would be great.