-
Notifications
You must be signed in to change notification settings - Fork 420
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
Synopsis of man page generator: incorrect asciidoctor call #1058
Comments
Thank you for pointing out the problem in the docs and for the PR to fix it!
I haven't actually tried this, but yes, that should be possible. When you invoke the (We should probably add a section about this to the documentation for generating man pages.) |
I can confirm that this works, indeed.
I try to author a PR later on. Additional note: Man page generation is a great feature. Currently, it is somehow hidden, however. Can't we make it more accessible by giving an picocli based application the ability to generate its own man page on demand (via subcommand). Something like:
Can this be implemented? Or does this feature exist already? Would be a great addition IMHO. |
I see. I hadn't thought of that but that is a nice idea. |
Another idea is to remove the innner |
Synopsis of man page generator:
The asciidoctor command is missing the required parameter
FILE...
, should be:asciidoctor --backend=manpage --source-dir=SOURCE_DIR --destination-dir=DESTINATION *.adoc
I submitted a PR meanwhile (#1059).
Additional question:
I do have a localized, picocli based application. Can I use the man page generator to generate *.adoc files in my various language variants?
The text was updated successfully, but these errors were encountered: