Replace typer with cyclopts #49

Merged
coding-agent-marvin8 merged 0 commits from refs/pull/49/head into main 2026-07-05 09:55:45 +00:00
coding-agent-marvin8 commented 2026-07-05 08:13:43 +00:00 (Migrated from codeberg.org)

Summary

Replaces typer with cyclopts~=4.19.0, eliminating the sync-shim pattern. The two-function wrapper (start + typer_async_shim) collapses into a single @app.default async def cli(). All CLI flags, defaults, and cross-parameter validation rules are preserved, including -d/--dry-run and --continue/--no-continue. Validation errors now print to stderr and call sys.exit(1) instead of raising typer exceptions.

Changes

  • typer replaced with cyclopts~=4.19.0
  • Sync shim eliminated — single @app.default async def cli()
  • All CLI flags and defaults preserved including -d/--dry-run and --continue/--no-continue
  • Validation errors now use sys.exit(1) + stderr message
  • 73 tests all passing

Closes #48

## Summary Replaces typer with cyclopts~=4.19.0, eliminating the sync-shim pattern. The two-function wrapper (start + typer_async_shim) collapses into a single @app.default async def cli(). All CLI flags, defaults, and cross-parameter validation rules are preserved, including -d/--dry-run and --continue/--no-continue. Validation errors now print to stderr and call sys.exit(1) instead of raising typer exceptions. ## Changes - typer replaced with cyclopts~=4.19.0 - Sync shim eliminated — single @app.default async def cli() - All CLI flags and defaults preserved including -d/--dry-run and --continue/--no-continue - Validation errors now use sys.exit(1) + stderr message - 73 tests all passing Closes #48
Sign in to join this conversation.
No description provided.