feat: update Makefile and README for new linting and testing commands; refactor credential storage to JSON format

This commit is contained in:
Felix Rudat
2026-02-10 08:39:41 +01:00
parent e158946211
commit 082de3d5ea
6 changed files with 100 additions and 58 deletions
+7 -3
View File
@@ -47,9 +47,10 @@ planka-cli boards list
## Authentication
`login` stores credentials in a `.env` file next to the `planka-cli` binary (or next to
`scripts/planka_cli.py` when running from source). You can also set credentials via
environment variables:
`login` stores credentials in `~/.config/planka-cli/tokens/credentials.json` by default.
Override with `--tokenstore PATH` or the `PLANKATOKENS` environment variable. You can also
set credentials via environment variables. Note: `--tokenstore` is a global option and
must appear before the command name.
```bash
export PLANKA_URL=https://planka.example
@@ -103,6 +104,9 @@ pip install -e .
```bash
make setup
make run
make lint
make test
make check
make build
```