Skip to content

cli: add 'version' subcommand alias#175

Merged
lonerthefirst3-sudo merged 2 commits into
SorobanGuard:mainfrom
jasmine874:feature/issue-53-version-subcommand
Jun 27, 2026
Merged

cli: add 'version' subcommand alias#175
lonerthefirst3-sudo merged 2 commits into
SorobanGuard:mainfrom
jasmine874:feature/issue-53-version-subcommand

Conversation

@jasmine874

@jasmine874 jasmine874 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a version subcommand to soroban-guard (soroban-guard version)
  • Prints the package name, version number, and target architecture/OS
  • Complements the existing --version / -V flag with the common <tool> version UX pattern used by tools like cargo, git, and rustup
  • Also fixes the print_pretty call-site arity mismatch introduced by a prior PR

Example output

soroban-guard 0.1.0
target: x86_64-linux

Test plan

  • soroban-guard version prints name, version, and target triple
  • soroban-guard --version still works as before

Closes #53

Add `soroban-guard version` as a subcommand that prints the package name,
version, and target architecture/OS. Complements the existing
`--version` flag with a conventional subcommand UX pattern.

Also fixes the `print_pretty` call-site arity mismatch introduced by a
prior PR.

Closes SorobanGuard#53

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@jasmine874 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@lonerthefirst3-sudo lonerthefirst3-sudo merged commit 76aa347 into SorobanGuard:main Jun 27, 2026
1 of 2 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.

Add version subcommand alias

2 participants