Skip to content

feat(cli): add version and update checks#43

Merged
owainlewis merged 1 commit into
mainfrom
codex/36-version
Jun 22, 2026
Merged

feat(cli): add version and update checks#43
owainlewis merged 1 commit into
mainfrom
codex/36-version

Conversation

@owainlewis

Copy link
Copy Markdown
Owner

Summary

  • add cortex --version and -V using the Cargo package version
  • add explicit cortex --check-update against the latest GitHub Release
  • treat no published releases as a successful no-update result and add curl timeouts for network failures

Verification

  • /opt/homebrew/bin/cargo-fmt -- --check
  • /opt/homebrew/bin/cargo-clippy clippy -- -D warnings
  • cargo test
  • cargo run -- --version
  • cargo run -- --check-update with no releases published
  • temporary release v9.9.9-version-test.20260622 verified update-available output, then release/tag deleted

Review

  • Subagent review found 404/no-release and timeout gaps
  • Follow-up subagent review found no issues after fixes

Closes #36

@owainlewis owainlewis merged commit efc1c76 into main Jun 22, 2026
1 check passed
@owainlewis owainlewis deleted the codex/36-version branch June 22, 2026 21:32
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.

[infra] Add version and update command surface

1 participant