Skip to content

Feature request: generation of man pages or AsciiDoc #487

Open
@kravemir

Description

@kravemir

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?

Activity

ajalt

ajalt commented on Feb 12, 2024

@ajalt
Owner

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.

changed the title Generation of man pages or AsciiDoc Feature request: generation of man pages or AsciiDoc on Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Feature request: generation of man pages or AsciiDoc · Issue #487 · ajalt/clikt