Skip to content

docs(cli): add CLI reference + README CLI Quick Start#511

Merged
DorianZheng merged 1 commit into
mainfrom
docs/cli-reference
May 12, 2026
Merged

docs(cli): add CLI reference + README CLI Quick Start#511
DorianZheng merged 1 commit into
mainfrom
docs/cli-reference

Conversation

@DorianZheng

Copy link
Copy Markdown
Member

Summary

  • New docs/reference/cli/README.md (640 lines): man-page-style reference covering all 17 subcommands, global flags, shared flag groups (ProcessFlags/ResourceFlags/PublishFlags/VolumeFlags/ManagementFlags), volume & port grammars, output formats, configuration file format, and exit codes. Source-of-truth file:line refs cited throughout.
  • Restructured main README.md: added a new CLI Quick Start (matching the SDK pattern), slimmed the REST API Quick Start's install block from a ~65-line trust-model walkthrough down to a 3-line pointer, replaced "API Reference - Coming soon" with a real link to ./docs/reference/.
  • Consolidated install/verification content: folded docs/install/verification.md into the new CLI reference's Installation & Verification section and removed the one-file docs/install/ orphan directory.
  • Updated docs/reference/README.md to list the CLI alongside SDKs, and CLAUDE.md's Project Overview to point at src/cli/README.md and docs/reference/README.md.

No code changes — docs only.

Test plan

  • Render docs/reference/cli/README.md on GitHub and verify the TOC anchors resolve and every command section is reachable.
  • Confirm `grep -rn "docs/install" README.md docs/ src/cli/README.md` returns zero hits.
  • Confirm the relocated verification commands (BOXLITE_VERSION, BOXLITE_INSTALL_DIR, BOXLITE_EXPECTED_SHA256, sha256sum -c, gh attestation verify install.sh, gh attestation verify ...boxlite-cli...) all appear in the new reference's Installation & Verification section.
  • Spot-check 3 commands' flag tables against `boxlite --help` for parity.
  • Verify the `#installation--verification` anchor links from README.md (CLI Quick Start, REST API Quick Start) and src/cli/README.md (Installation section) resolve.

Add docs/reference/cli/README.md as the canonical man-page-style CLI
reference (17 subcommands, global flags, shared flag groups, volume/port
grammar, output formats, exit codes). Fold the installer trust-model
walkthrough (sigstore, SHA256SUMS, gh attestation verify) into the new
reference's Installation & Verification section, retiring the orphan
docs/install/verification.md.

Restructure README quick starts: add a CLI Quick Start matching the SDK
pattern, slim the REST API Quick Start install block to a pointer into
the CLI Quick Start, and replace "API Reference - Coming soon" in the
Documentation section with a real link.

Update docs/reference/README.md index and CLAUDE.md to surface the new
CLI surface and the reference umbrella.
@DorianZheng DorianZheng merged commit bde5e5b into main May 12, 2026
16 checks passed
@DorianZheng DorianZheng deleted the docs/cli-reference branch May 12, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant