You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): --version, -V, and version subcommand (closes#26)
There was no way to discover the installed Trailmark version from the
CLI. Adds three equivalent paths, all printing `trailmark <version>`:
- `trailmark --version`
- `trailmark -V`
- `trailmark version`
The long/short flags use argparse's built-in action="version" which
prints and exits with status 0. The subcommand form dispatches through
main() and uses the same version string.
Also bumps __version__ and pyproject.toml to 0.2.2 and refreshes the
lockfile.
5 new tests in test_cli_parser.py cover each form end-to-end.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments