Skip to content

Add consistent --version flag to all CLI commands (#125)#157

Merged
himanshu231204 merged 2 commits into
OpenAgentHQ:mainfrom
PrinceThummar011:fix/version-flag-125
Jul 15, 2026
Merged

Add consistent --version flag to all CLI commands (#125)#157
himanshu231204 merged 2 commits into
OpenAgentHQ:mainfrom
PrinceThummar011:fix/version-flag-125

Conversation

@PrinceThummar011

Copy link
Copy Markdown
Contributor

Centralizes version handling in the root Typer app via an eager --version callback, using importlib.metadata to pull the version from openagent-eval. Ensures --version works uniformly across the root CLI and subcommands instead of only responding on some commands. Includes tests verifying --version exits cleanly with the correct version string. Closes #125.

@himanshu231204 himanshu231204 merged commit e1b994b into OpenAgentHQ:main Jul 15, 2026
9 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @PrinceThummar011!

Your pull request has been successfully merged into main. 🚀

Thank you for contributing to OpenAgentHQ and helping improve the project.

We truly appreciate your contribution and hope to see you back with more amazing PRs!

Happy Open Sourcing! ❤️

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 --version flag to all CLI commands

2 participants