Open
Description
I am exploring options for command line interfaces for Kotlin, and found this library.
One of my needs is an export to unix man pages or AsciiDoc files.
picocli supports this:
From picocli 4.2, the picocli-codegen module has a ManPageGenerator tool that can generate AsciiDoc documentation using the manpage doctype and manpage document structure. The generated AsciiDoc files can be converted to HTML, PDF and unix man pages with the wonderful asciidoctor tool.
And, the generation can even be made to be part of gradle build - example.
Is there something like that for Click?
Metadata
Metadata
Assignees
Labels
No labels
Activity
ajalt commentedon Feb 12, 2024
Clikt doesn't have anything like that currently, but it should be straight forward to implement a HelpFormatter that would print out whatever format you want.