Skip to content

feat: add --version flag to device and attester CLIs (s0.14)#54

Merged
elmol merged 2 commits into
mainfrom
feat/s0.14-cli-version
Mar 17, 2026
Merged

feat: add --version flag to device and attester CLIs (s0.14)#54
elmol merged 2 commits into
mainfrom
feat/s0.14-cli-version

Conversation

@elmol
Copy link
Copy Markdown
Owner

@elmol elmol commented Mar 17, 2026

Summary

  • Add version to #[command(...)] in both device/src/main.rs and attester/src/main.rs
  • Clap reads the version from Cargo.toml automatically — no hardcoding

Test plan

  • device --versiondevice 0.1.0
  • attester --versionattester 0.1.0
  • just ci passes

🤖 Generated with Claude Code

elmol and others added 2 commits March 17, 2026 18:52
Add version attribute to clap #[command] — reads version from Cargo.toml
automatically. device --version → device 0.1.0, attester --version → attester 0.1.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@elmol elmol merged commit 9da6415 into main Mar 17, 2026
8 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.

1 participant