Skip to content

feat: Add 'satra update' command and auto-upgrade support in installer - #3

Merged
Chintanpatel24 merged 1 commit into
mainfrom
feat/update-command
Sep 9, 2026
Merged

Chintanpatel24 merged 1 commit into
mainfrom
feat/update-command

Conversation

@Chintanpatel24

Copy link
Copy Markdown
Member

Summary

  • Existing Installation Detection: install.sh detects if satra is already installed, unlinks the old binary safely, and replaces it with the updated version (using --force when using the cargo fallback).
  • Self-Updating Command: Added satra update command so users can update Satra directly from the terminal anytime.
  • Documentation: Updated README.md and satra --help with the update command.

- Detect existing binary in install.sh, replace cleanly, and use --force for cargo
- Add 'satra update' command in main.rs to automate self-updating from GitHub
- Update README.md with 'satra update' usage
Copilot AI lite review requested due to automatic review settings September 9, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Chintanpatel24
Chintanpatel24 merged commit eb903b5 into main Sep 9, 2026
1 check passed
@Chintanpatel24
Chintanpatel24 deleted the feat/update-command branch September 9, 2026 19:25
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.

2 participants