Help us shape the future of Go! Take the 2026 Go Developer Survey

cmdinventory

command
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command cmdinventory prints the CLI's real command tree.

Purpose: make SPORT F02, the wiki, and the parity matrix generated from

the binary rather than hand-maintained. Every previous count in
the docs was typed by a human and had drifted (F02 and the PRI
both claimed 84 when the binary registered more).

Inputs: -format json|markdown|names, -depth N (0 = top level only). Outputs: the command tree on stdout. Constraints: imports cmd/commands so the source of truth is the same cobra

registration the shipped binary uses; no separate parser to
drift. Read-only — never mutates the tree.

Jump to

Keyboard shortcuts

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