Skip to content

feat(cli): add -V/--version flag to display version#7

Merged
trisdoan merged 1 commit intomainfrom
add_version
Feb 9, 2026
Merged

feat(cli): add -V/--version flag to display version#7
trisdoan merged 1 commit intomainfrom
add_version

Conversation

@nilshamerlinck
Copy link
Copy Markdown
Contributor

Summary

  • Adds -V / --version option to display the odoo-venv version
  • Uses importlib.metadata.version() to dynamically retrieve the package version
  • Implements as an eager callback to exit immediately after displaying version

Test plan

  • Run odoo-venv --version and verify version is displayed
  • Run odoo-venv -V and verify version is displayed
  • Verify other commands still work normally

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@trisdoan trisdoan merged commit b3d9ffe into main Feb 9, 2026
1 check passed
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.

2 participants