Skip to content

Add 'dispatch man' to generate a roff man page #308

Description

@jongio

Add a dispatch man subcommand that writes a section-1 roff man page to standard output. Packagers can redirect it into their man path so man dispatch works offline, without duplicating the help text by hand:

dispatch man > dispatch.1

The page mirrors the built-in usage banner so the two stay close.

Acceptance criteria:

  • dispatch man prints a valid roff man page (.TH header, NAME, SYNOPSIS, DESCRIPTION, COMMANDS, FLAGS, ENVIRONMENT, EXAMPLES, SEE ALSO).
  • Every subcommand and top-level flag from the usage banner appears in the page.
  • man is listed in the usage banner and in the bash, zsh, fish, and powershell completion scripts.
  • Tests cover the roff structure, command coverage, and the handleArgs wiring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaFeature idea from the idea pipeline

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions