Skip to content

Switch from click to typer and apply template for auto-generating cli reference#31

Merged
nilshamerlinck merged 2 commits into
mainfrom
fix/all-use-typer
May 28, 2026
Merged

Switch from click to typer and apply template for auto-generating cli reference#31
nilshamerlinck merged 2 commits into
mainfrom
fix/all-use-typer

Conversation

@hailangvn
Copy link
Copy Markdown
Collaborator

Replace click with typer across all command modules, utilities, and tests. Use Annotated[type, typer.Option/Argument()] for parameter declarations, typer.Exit(code=1) for error exits, and invoke the full app in tests via typer.testing.CliRunner.

Pin setup-uv to v8.1.0 by commit hash, replace docs.yml with docs.yaml (adds deploy job for GitHub Pages), move zensical.toml under site-docs/, add gen_cli_reference.py to scripts/, regenerate cli-reference.md, and update Makefile/AGENTS.md/.gitignore accordingly.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Forge ID: F#T67797

@hailangvn hailangvn force-pushed the fix/all-use-typer branch from a965a2e to f7ca8a6 Compare May 26, 2026 10:32
@nilshamerlinck
Copy link
Copy Markdown
Contributor

ready for review?

@hailangvn
Copy link
Copy Markdown
Collaborator Author

Yes, it is ready to review.

hailangvn added 2 commits May 28, 2026 16:36
Replace click with typer across all command modules, utilities, and
tests. Use Annotated[type, typer.Option/Argument()] for parameter
declarations, typer.Exit(code=1) for error exits, and invoke the full
app in tests via typer.testing.CliRunner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Forge ID: F#T67797
Pin setup-uv to v8.1.0 by commit hash, replace docs.yml with docs.yaml
(adds deploy job for GitHub Pages), move zensical.toml under site-docs/,
add gen_cli_reference.py to scripts/, regenerate cli-reference.md, and
update Makefile/AGENTS.md/.gitignore accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Forge ID: F#T67797
@hailangvn hailangvn force-pushed the fix/all-use-typer branch from f7ca8a6 to fbabbfc Compare May 28, 2026 09:36
@nilshamerlinck nilshamerlinck merged commit 3624dc1 into main May 28, 2026
7 checks passed
@hailangvn hailangvn deleted the fix/all-use-typer branch May 28, 2026 10:04
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.

2 participants