Skip to content

docs(cli): document shell completions and styled help/version output - #162

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-161-20260605-0106
Jun 5, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-161-20260605-0106

Conversation

@claude

@claude claude Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the user-facing surface added when the CLI adopted fang in inference-gateway/cli#592 (Charm v2 UX modernization, 1/7). All changes are in cli.md:

  • Adds a Shell Completions subsection under Installation with per-shell install steps for bash, zsh, fish, and powershell.
  • Adds a Help and Version Output section showing the new fang-styled help, styled non-zero error rendering, and styled --version.
  • Describes the version subcommand vs the --version flag (both supported; --version is now handled by fang, and -v is --verbose).
  • Updates the Quick Start tour and the Command Reference table (new infer completion <shell> and infer version rows).
  • Adds a Shell Completions Not Working troubleshooting entry for when the shell rc does not source the completion file.
  • Cross-links back to the source PR ([DOCS] Document the TextToSpeech agent tool (text-to-speech and voice cloning) #592) in two places.

Scope note

Root-level getting-started.md and troubleshooting.md document the gateway server (Docker/K8s, auth, MCP), not the infer CLI, so the optional completion pointers were kept inside cli.md (which owns CLI content and has its own Troubleshooting section) rather than forced into the gateway pages.

Verification

  • npm run format:check - passes
  • npm run lint:md - passes
  • npm run build - passes; new content is server-rendered into dist/cli/index.html

Closes #161

@edenreich
edenreich merged commit 9bdaa79 into main Jun 5, 2026
@edenreich
edenreich deleted the docs/issue-161-20260605-0106 branch June 5, 2026 01:17
github-actions Bot pushed a commit that referenced this pull request Jun 5, 2026
## [0.6.94](0.6.93...0.6.94) (2026-06-05)

### 📚 Documentation

* **cli:** document fang shell completions and styled help/version ([#162](#162)) ([9bdaa79](9bdaa79))
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.

[DOCS] Document shell completions and restyled help/version output (fang)

1 participant