Skip to content

feat: typer CLI support - #337

Merged
rich-iannone merged 8 commits into
mainfrom
feat-typer-cli-support
Sep 2, 2026
Merged

rich-iannone merged 8 commits into
mainfrom
feat-typer-cli-support

Conversation

@rich-iannone

Copy link
Copy Markdown
Member

This PR adds support for adding Typer CLIs in the reference docs. This detects a typer.Typer app during CLI discovery and converts it to a Click command tree via typer.main.get_command(). Then, it reuses the existing extraction/rendering path. Works through the same cli.enabled config (so no new options).

Fixes: #332

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

📚 Preview this PR's docs locally

Fetch the just-built site and open it in your browser:

# this exact build
great-docs preview --run 33657817895

# or always the latest build for this PR
great-docs preview --pr 337
Auth & tips
  • Requires great-docs: pip install great-docs (or run via pipx/uvx).
  • Auth: run gh auth login then add --use-gh, or set GITHUB_TOKEN (needs Actions: read).
  • Jump to a page: add --path reference/index.html.
  • Latest vs exact: --pr <n> grabs the newest build; --run <id> pins this one.
  • Re-download: --refresh ignores the local cache.

@rich-iannone
rich-iannone merged commit a340b04 into main Sep 2, 2026
8 checks passed
@rich-iannone
rich-iannone deleted the feat-typer-cli-support branch September 2, 2026 18:30
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.

Support Typer CLIs

1 participant