gabriel / muse public
fix main #29 / 100

fix: replace typer CliRunner with argparse-compatible test helper

- Add tests/cli_test_helper.py: drop-in CliRunner that wraps main(), supports env=, input=, catch_exceptions=, stdout.buffer, and stdin.buffer - Strip ANSI codes from output to match typer CliRunner behavior - Rename root parser --version dest to show_version to avoid namespace collision with domains publish --version SEMVER (fixed muse 0.1.3 false positive in 7 test files) - Add missing short flag aliases: archive (-f/-o), describe (-l), reflog (-n/-b), shortlog (-n/-f), snapshot list (-n) - Update all 75 test files: replace typer imports with cli_test_helper

All 3202 tests pass.

G Gabriel Cardona <gabriel@tellurstori.com> · 1d ago Mar 22, 2026 · 86000da9 · parent 00373ad0
82
files changed
407
files in snapshot
Files Changed 407 in snapshot
+1 ~81

0 comments

No comments yet. Be the first to start the discussion.