feat(cli): add solve subcommand with profile + per-flag overrides + JSONL audit

This commit is contained in:
transcrilive
2026-05-10 03:15:21 +02:00
parent d4c241f91a
commit b58b894567
2 changed files with 115 additions and 0 deletions

19
tests/test_cli.py Normal file
View File

@@ -0,0 +1,19 @@
from typer.testing import CliRunner
from markovian_rsa_mlx.cli import app
runner = CliRunner()
def test_version_command_prints_version():
result = runner.invoke(app, ["version"])
assert result.exit_code == 0
assert "0.1.0" in result.stdout
def test_solve_help_shows_required_flags():
result = runner.invoke(app, ["solve", "--help"])
assert result.exit_code == 0
assert "--model" in result.stdout
assert "--rounds" in result.stdout
assert "--parallel" in result.stdout
assert "--audit" in result.stdout