Skip to content

feat: add diagnostic version check command to CLI#437

Open
arcgod-design wants to merge 3 commits into
sreerevanth:mainfrom
arcgod-design:feat/issue-149-version-check
Open

feat: add diagnostic version check command to CLI#437
arcgod-design wants to merge 3 commits into
sreerevanth:mainfrom
arcgod-design:feat/issue-149-version-check

Conversation

@arcgod-design

Copy link
Copy Markdown
Contributor

Summary

  • Adds --version / -V flag to print version, Python, and platform info, then exit
  • Adds �ersion subcommand with a rich diagnostics table (version, Python, platform, executable, package location)
  • Adds 4 tests in ests/test_cli_version.py

Changes

  • �gentwatch/cli/main.py: Add --version option to main_callback, add �ersion subcommand
  • ests/test_cli_version.py: New test file with 4 tests

Testing

All 4 tests pass:

  • \ est_version_flag_outputs_version\
  • \ est_version_subcommand_outputs_version\
  • \ est_version_subcommand_shows_python\
  • \ est_version_subcommand_shows_platform\

Closes

closes #149

@sreerevanth

Copy link
Copy Markdown
Owner

fix ci

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

🧪 PR Test Results

Check Result
Tests (pytest tests/) ✅ success
Lint (ruff check .) ❌ failure
Coverage (agentwatch) 73.32%

Python 3.12 · commit 7b15dcc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] add diagnostic version check command to CLI

2 participants