Skip to content

Conversation

@lshgdut
Copy link
Contributor

@lshgdut lshgdut commented Oct 14, 2025

Add features to Specify CLI:

  • version sub command
  • --version flag for root command

Closed issues: #486 #811

@lshgdut lshgdut requested a review from localden as a code owner October 14, 2025 02:36
@lshgdut lshgdut changed the title fix: add version command to Specify CLI #811 fix: add version command to Specify CLI #811 Oct 14, 2025
@localden localden requested a review from Copilot October 15, 2025 17:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds version display functionality to the Specify CLI by implementing both a version subcommand and a --version flag for the root command. The changes utilize Python's importlib.metadata to dynamically retrieve the package version.

  • Added version subcommand that displays the application version
  • Added --version flag to the root command callback for immediate version display
  • Integrated importlib.metadata to dynamically fetch package version information

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@localden
Copy link
Collaborator

Thank you for the contribution. We will be introducing support for the --version argument in #986

@localden localden closed this Oct 21, 2025
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