- Notifications
You must be signed in to change notification settings - Fork899
feat: add version subcommand to display build metadata#119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
✅ Rebased with |
There's already a
isn't that enough? |
I believe we can add a But as@juruen mentioned, the |
Good point -- I noticed the -v flag after opening the PR. My intent here was improving the clarity and completeness of the build metadata for easier traceability in CI/CD environments. If we're aligned on keeping the simpler flag, I'm happy to refactor the existing -v output using SetVersionTemplate as Sam suggested. Would this work for you both? |
Yes, definitely. |
deacd75
to6b02799
CompareImplemented version output improvement using |
For easy reproduction and verification, you can use the following: In project root: Build:
Test:
|
@joe-ton I fixed spaces instead of tabs, and because the template command uses a template library, I made use of it - although it doesn't make much difference. The output is the same.
|
@joe-ton the tabs not spaces thing for go is important, and you should have |
b72a591
intogithub:mainUh oh!
There was an error while loading.Please reload this page.
@SamMorrowDrums Thanks for accepting the PR. Yes, I need to do |
Feature:
version
Subcommand for GitHub MCP Server CLIThis PR adds a new
version
subcommand to the GitHub MCP Server CLI, providing build metadata for better visibility and traceability in development and CI environments.What’s Included
server version
command using CobraPerhaps work on Makefiles / automation (build + make) for later.