render

command
v0.0.0-...-9a2d885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2026 License: MIT Imports: 4 Imported by: 0

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

Overview

Command render is a tiny example that emits cli-web-docs HTML for a sample CLI into ./site.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL