command
Version:
v0.0.0-...-9a2d885
Opens a new window with list of versions in this module.
Published: May 16, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
render example - the basic case
Single-page rendering. A tiny demo CLI with three subcommands gets serialized into one index.html with every command inlined under section anchors.
$ go run ./examples/render ./site
wrote ./site
$ open ./site/index.html
This is the right starting point for most CLIs. Switch to multi-page when the tree is large enough that one page becomes unwieldy.
Documentation
¶
Command render is a tiny example that emits cli-web-docs HTML for a
sample CLI into ./site.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.