| from typer.testing import CliRunner | |
| from agentic_search.cli import app | |
| runner = CliRunner() | |
| def test_version_is_available_without_a_subcommand() -> None: | |
| result = runner.invoke(app, ["--version"]) | |
| assert result.exit_code == 0 | |
| assert result.stdout.strip() == "0.4.0" | |
| def test_data_namespace_exposes_real_dataset_commands() -> None: | |
| result = runner.invoke(app, ["data", "--help"]) | |
| assert result.exit_code == 0 | |
| assert "download-hotpot" in result.stdout | |
| assert "build-benchmark-manifests" in result.stdout | |