Skip to content

Add --version CLI option to vuegen#183

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/add-command-line-option-version
Draft

Add --version CLI option to vuegen#183
Copilot wants to merge 2 commits into
mainfrom
copilot/add-command-line-option-version

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 29, 2026

Users had no way to check the installed version of vuegen from the command line.

Changes

  • src/vuegen/utils/__init__.py: Added import importlib.metadata and a module-level version lookup (_VUEGEN_VERSION) with a PackageNotFoundError fallback to "unknown". Added --version argument to get_parser using argparse's action="version".

Usage

$ vuegen --version
VueGen 1.2.3

Copilot AI linked an issue Apr 29, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add command line option to display version Add --version CLI option to vuegen Apr 29, 2026
Copilot AI requested a review from enryH April 29, 2026 20:06
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.

Add command line option to display version

2 participants