Closed sina-masoud-ansari closed 13 years ago
I think markus just made this easier: https://github.com/makkus/gricli/blob/textDoc/src/main/resources/help.properties
Not sure how to link this into the commit comments or some other way of linking this all together..
Created a script to generate a man page from
https://github.com/grisu/gricli/blob/develop/man/manpage.md
and
https://github.com/grisu/gricli/blob/develop/src/main/resources/help.properties
Could also use examples.properties if we feel like it.
Script to create manpage requires pandoc (http://johnmacfarlane.net/pandoc/index.html) and can be found here: https://github.com/grisu/gricli/blob/develop/man/build-man.sh
Will add a jenkins job later on to generate it automatically as well...
Please help and improve help.properties and manpage.md.
Not quite ready yet, manpage doesn't distinguish between commands and arguments of commands, need to add support for that.
On the other hand, I added the automated creation of a Usage file in markdown mode which we can refer to online: https://github.com/grisu/gricli/blob/develop/USAGE.md
Broken now after changing the way help works. Will fix, although I don't think it's that important anymore since we've got a fairly comprehensive in-app help system in gricli now...
Moved to this milestone, needs fixing...
I remember someone mentioned this at a recent meeting.