Skip to content

feat: add --version flag with build time - #127

Merged
deviantintegral merged 1 commit into
mainfrom
claude/add-phar-version-flag-BMGqV
Dec 15, 2025
Merged

deviantintegral merged 1 commit into
mainfrom
claude/add-phar-version-flag-BMGqV

Conversation

@deviantintegral

Copy link
Copy Markdown
Owner

Added support for --version flag that displays the PHAR version (git tag or commit hash) along with the build timestamp. This helps users identify which version of the tool they are running.

Changes:

  • Updated box.json to configure git-version and datetime placeholders
  • Modified bin/console to set application name and version using Box placeholders
  • Version automatically shows git tag (if available) or commit hash with build time

Added support for --version flag that displays the PHAR version (git tag or
commit hash) along with the build timestamp. This helps users identify which
version of the tool they are running.

Changes:
- Updated box.json to configure git-version and datetime placeholders
- Modified bin/console to set application name and version using Box placeholders
- Version automatically shows git tag (if available) or commit hash with build time
@deviantintegral
deviantintegral marked this pull request as ready for review December 15, 2025 14:49
@deviantintegral
deviantintegral merged commit 870c439 into main Dec 15, 2025
7 checks 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