mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The Docker entry script's `[docker-infinito] Installed:` banner used to call `pkgmgr version infinito`; after the pkgmgr removal that line became `infinito --version || true`, which printed `Error: command '--version' not found.` to stderr because the CLI's argparse-style dispatcher treated `--version` as an unknown subcommand. Hook a real top-level flag into cli.core.app.parse_flags that prints `infinito <version>` from importlib.metadata (single source of truth: pyproject.toml's `version` field; falls back to `unknown` when the package isn't pip-installed) and exits 0. entry.sh drops the `|| true` since the call is now well-defined. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>