No description
Find a file
Kevin d'Orange 58e8b0b226 Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script
- CLI: init, account add/list/deactivate, movement add/list/deactivate,
  balance, summary. Thin glue over lib; user errors exit 1 via _fail().
  Dual-mode: omitted required options prompt interactively (Typer prompt=).
  --db option per command (default cpt.db, env var CPT_DB).
- Entry point now cpt.__main__:cli_main.
- tests/test_cli.py: CliRunner against real temp DB files, incl. interactive
  prompt-mode tests. Suite now 101 passing.
- scripts/demo.py + tox -e demo: builds 3 years of realistic ledger data
  (17 accounts, 488 movements) using public cpt commands only; seeded RNG,
  pure transcript output, default-path cpt.db build.
- Fix .gitignore so *.db is actually ignored (*.db*.swp was a typo).
2026-10-02 14:31:51 +02:00
scripts Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
src/cpt Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
tests Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
.gitignore Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
DESIGN.md Remove class from accounts, keep it only on movements 2026-09-14 22:44:58 +02:00
pyproject.toml Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
README.md Initial Commit 2026-09-07 23:09:29 +02:00
ROADMAP.md Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00
tox.ini Add Typer CLI, 22 end-to-end CLI tests, and deterministic demo script 2026-10-02 14:31:51 +02:00

cpt

Personal accounts management.