From 702dc2fe14233d97b065ce52bf83e2692f1fba48 Mon Sep 17 00:00:00 2001 From: Vlad Doloman Date: Wed, 8 Jul 2026 16:23:06 +0300 Subject: [PATCH] document --list/--list-all in CLAUDE.md Co-Authored-By: Claude Sonnet 5 --- CLAUDE.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 8d9acc8..85f0aaa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -15,6 +15,8 @@ python3 openvpncertupdate.py --create CN --email user@example.com python3 openvpncertupdate.py --reissue CN [--email user@example.com] python3 openvpncertupdate.py --revoke CN python3 openvpncertupdate.py --gen-crl +python3 openvpncertupdate.py --list +python3 openvpncertupdate.py --list-all ``` Edit the `SETTINGS` block at the top of `openvpncertupdate.py` before first run. @@ -27,6 +29,8 @@ Edit the `SETTINGS` block at the top of `openvpncertupdate.py` before first run. | `--reissue CN` | Revoke + reissue cert (`--email` optional, falls back to stored) | | `--revoke CN` | Revoke cert and regenerate CRL | | `--gen-crl` | Regenerate and copy CRL only | +| `--list` | List recently-expired/soon-to-expire CNs (per `DAYS_PAST`/`DAYS_AHEAD`) with email; read-only, no CA passphrase needed | +| `--list-all` | List all CNs with email; read-only, no CA passphrase needed | | `--email EMAIL` | Recipient address | | `--send-email` | Force email delivery | | `--no-send-email` | Skip email; print URL to stdout | @@ -82,7 +86,7 @@ python3 -m pytest tests/test_pki.py::test_sorted_ascending -v # single test - External config file (`load_settings_overrides()`, run once in `main()` right after arg parsing, before dispatch): resolution order is `--config PATH` > `CONFIG_PATH` setting > `.conf` next to the script. The CLI flag or `CONFIG_PATH` make the path explicit — a missing file there is a fatal `ConfigError`; the default `