# argledger operational commands

Development install:
python -m pip install -e .[dev]

Full test suite:
pytest

Focused execution/history tests:
pytest tests/test_execution.py tests/test_history.py

Focused CLI status tests:
pytest tests/test_cli_status.py

Touched-file lint for PACE metadata work:
ruff check src/argledger/history.py src/argledger/execution.py src/argledger/__main__.py tests/test_cli_status.py

Repository lint:
ruff check .

Type check:
mypy src

Build package:
python -m build

Check built distributions:
python -m twine check dist/*

Sample history query:
python -m argledger query --jsonl .run-registry/history.jsonl --sqlite .run-registry/history.db --status success

Sample replay:
python -m argledger replay <execution-id> --jsonl .run-registry/history.jsonl --sqlite .run-registry/history.db

Sample lineage:
python -m argledger lineage <execution-id> --jsonl .run-registry/history.jsonl --sqlite .run-registry/history.db

Sample live status:
python -m argledger running --live-dir .run-registry/live
python -m argledger status <execution-id> --live-dir .run-registry/live
