Skip to content

Comments

feat(cli): implement DX-first KSeF CLI with docs and tests#15

Merged
smekcio merged 2 commits intomainfrom
feat/python-cli-dx-spec
Feb 20, 2026
Merged

feat(cli): implement DX-first KSeF CLI with docs and tests#15
smekcio merged 2 commits intomainfrom
feat/python-cli-dx-spec

Conversation

@smekcio
Copy link
Owner

@smekcio smekcio commented Feb 20, 2026

Summary

  • implement a new DX-first ksef CLI surface (init, profile, auth, health, invoice, send, upo, export)
  • remove implicit fallback to demo for business commands and require explicit/active profile with clear config errors
  • add secure token storage and fallback handling improvements (keyring/encrypted/plaintext guardrails)
  • improve resilience in config handling, retry/circuit-breaker policy usage, and ZIP path safety
  • add comprehensive CLI test suite (unit/integration/smoke) and CLI documentation

Testing

  • .\.venv\Scripts\python.exe -m ruff check src/ksef_client/cli tests/cli src/ksef_client/utils/zip_utils.py
  • .\.venv\Scripts\python.exe -m mypy src/ksef_client/cli src/ksef_client/utils/zip_utils.py
  • .\.venv\Scripts\python.exe -m pytest -q tests/cli

@smekcio smekcio merged commit b3cd722 into main Feb 20, 2026
16 checks passed
smekcio added a commit that referenced this pull request Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant