tools: usage lines name wikitool; -h/--help acceptance checks become tests (#121)
CI / verify (push) Failing after 1m18s
Release / release (push) Successful in 37s

Files changed:
- CHANGES.md
- VERSION
- tools/chemenu/cli.py
- tools/chemenu/tests/test_cli.py
This commit is contained in:
torben committed 2026-09-26 07:57:01 +02:00
1 parent b79f083cc1
commit 5ffab3accf
4 files changed
+93 -7

No files matched your search

+12 -1
View File
@@ -59,7 +59,7 @@ concern - readable here, never shipped as something to parse.
---
## 7.1.0-beta.4 - 2026-09-25 - wikitool: one data record per command - `-h`, index and CONTRACT.md render from cli_contract (Gitea #121 Phase 1)
## 7.1.0-beta.5 - 2026-09-26 - wikitool: usage lines name wikitool, and the -h acceptance checks become tests
**Author:** Torben Nehmer
@@ -73,6 +73,7 @@ concern - readable here, never shipped as something to parse.
**Low impact**
- version bump no longer points at version release in its output
- stack-close: wait for CI through the authenticated Gitea connection, with timings and a give-up point
- wikitool: usage lines name wikitool, and the -h acceptance checks become tests
<!-- /wikitool:bumps -->
### CalDAV task-tracker provider (Nextcloud Tasks, iOS Reminders); review reports unknown-value findings instead of skipping them
@@ -151,6 +152,16 @@ part of this change: this pass moved the existing table cells' text into records
without editing it beyond the one documented fix (the `--dry-run` synopsis gap above) and the
docstring/option-text rewording needed to stop citing issue numbers in rendered help.
### wikitool: usage lines name wikitool, and the -h acceptance checks become tests
Under `tools/wikitool` - which runs `python -m chemenu.cli` - every usage line and "Try ... -h"
hint named `python -m chemenu.cli`, a command nobody should copy; the CLI now passes
`prog_name="wikitool"` explicitly. The properties the previous change promised for help output -
byte-identical with and without a TTY, `-h` and `--help` identical for every command, no Rich
frame characters in help or in a usage error, the top-level index listing at least the seven
non-idempotent commands - had only been checked by hand; they are now pinned in
`test_cli.py`.
---
## 7.0.0 - 2026-09-22 - Task-Tracker-Anbindung: Vorhaben als Seitenart, Verpflichtungsschicht, Weekly Review als Read-Time-Join