Skip to content

Conversation

@isdaniel
Copy link
Contributor

@isdaniel isdaniel commented Oct 16, 2025

Support check env version command for better support issue and understand using version.

Example:

specify --version & -v
specify version 0.0.20

specify --help
                 ███████╗██████╗ ███████╗ ██████╗██╗███████╗██╗   ██╗
                 ██╔════╝██╔══██╗██╔════╝██╔════╝██║██╔════╝╚██╗ ██╔╝
                 ███████╗██████╔╝█████╗  ██║     ██║█████╗   ╚████╔╝
                 ╚════██║██╔═══╝ ██╔══╝  ██║     ██║██╔══╝    ╚██╔╝
                 ███████║██║     ███████╗╚██████╗██║██║        ██║
                 ╚══════╝╚═╝     ╚══════╝ ╚═════╝╚═╝╚═╝        ╚═╝

                  GitHub Spec Kit - Spec-Driven Development Toolkit

 Usage: specify [OPTIONS] COMMAND [ARGS]...

 Setup tool for Specify spec-driven development projects

╭─ Options ──────────────────────────────────────────────────────────────────────────╮
│ --version  -v        Show the version and exit                                     │
│ --help               Show this message and exit.                                   │
╰────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────╮
│ init    Initialize a new Specify project from the latest template.                 │
│ check   Check that all required tools are installed.                               │
╰────────────────────────────────────────────────────────────────────────────────────╯

…tand using version.

specify --version & -v
specify version 0.0.20

specify --help
                 ███████╗██████╗ ███████╗ ██████╗██╗███████╗██╗   ██╗
                 ██╔════╝██╔══██╗██╔════╝██╔════╝██║██╔════╝╚██╗ ██╔╝
                 ███████╗██████╔╝█████╗  ██║     ██║█████╗   ╚████╔╝
                 ╚════██║██╔═══╝ ██╔══╝  ██║     ██║██╔══╝    ╚██╔╝
                 ███████║██║     ███████╗╚██████╗██║██║        ██║
                 ╚══════╝╚═╝     ╚══════╝ ╚═════╝╚═╝╚═╝        ╚═╝

                  GitHub Spec Kit - Spec-Driven Development Toolkit

 Usage: specify [OPTIONS] COMMAND [ARGS]...

 Setup tool for Specify spec-driven development projects

╭─ Options ──────────────────────────────────────────────────────────────────────────╮
│ --version  -v        Show the version and exit                                     │
│ --help               Show this message and exit.                                   │
╰────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────╮
│ init    Initialize a new Specify project from the latest template.                 │
│ check   Check that all required tools are installed.                               │
╰────────────────────────────────────────────────────────────────────────────────────╯
@isdaniel isdaniel requested a review from localden as a code owner October 16, 2025 05:20
Copilot AI review requested due to automatic review settings October 16, 2025 05:20
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 support to the specify-cli tool by implementing a --version flag that displays the current version of the package. This enables better support issue troubleshooting and helps users understand which version they're using.

  • Added version detection functionality using importlib.metadata
  • Implemented --version/-v flag support in the main CLI callback
  • Enhanced the help system to include version information

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

@isdaniel isdaniel changed the title support check env version command for better support issue and understand using version. feat: support check env version command for better support issue and understand using version. Oct 16, 2025
@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