Skip to main content

Module man

Module man 

Source
Expand description

The man command. Command for displaying manual pages for packages.

This module provides a TUI (Terminal User Interface) and a pager-based way to view manual pages, supporting both locally installed pages and fetching pages from upstream registries.

Functionsยง

gather_manual_pages
Gathers manual pages for a package, checking locally and then upstream.
parse_roff
Parses a ROFF-formatted string (traditional man page) into a simplified Markdown string.
resolve_package_for_man
Resolves a package and optional registry handle for a given search term.
run
Runs the manual page viewer for the specified package.