command
Version:
v0.0.0-...-db331fc
Opens a new window with list of versions in this module.
Published: May 26, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
multi-page example
Same shape as render/ but with Options.PerPage = true. Each visible subcommand gets its own <name>.html; the index lists the tree.
$ go run ./examples/multi-page ./site
wrote ./site
$ ls site/
config-get.html config.html logs-since.html logs.html restart.html status.html stop.html
config-set.html index.html logs-tail.html ops.html start.html
Right for CLIs with more than ~10 commands or deep nesting where a single page becomes hard to navigate.
Documentation
¶
Command multi-page renders a small CLI as a multi-page docs site:
one HTML file per visible subcommand plus an index that lists the tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.