deep-tree

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

deep-tree example

Three levels of nested subcommands with realistic flags, aliases, and arg shapes. Mirrors the shape of a small homelab ops CLI to show how cli-web-docs scales past the "tiny demo" case.

$ go run ./examples/deep-tree ./site
$ open ./site/index.html

Renders in multi-page mode by default because the surface is large enough that single-page would be hard to navigate. Switch the PerPage field to false in main.go to see the same tree as one big page.

Documentation

Overview

Command deep-tree renders documentation for a CLI with three levels of nested subcommands and a realistic flag surface. Demonstrates that cli-web-docs handles deeply-nested trees without truncation and shows how flags / args / descriptions render in practice.

Mirrors the shape of a real homelab ops CLI (think: a small fraction of coily). Use this as a comparison point when sizing a docs site for your own command tree.

Jump to

Keyboard shortcuts

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