Skip to content

Commit f85d308

Browse files
committed
Add interactive update selector
1 parent b977ccf commit f85d308

6 files changed

Lines changed: 598 additions & 9 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ tokio-retry = "0.3"
4242
indicatif = { version = "0.17", features = ["tokio", "futures"] }
4343
http-body-util = "0.1"
4444
bytes = "1.9"
45+
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
4546

4647
# CLI utilities
4748
webbrowser = "1.0"

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ occ stop
196196
# Restart the service
197197
occ restart
198198

199+
# Check for updates and choose what to update
200+
occ update
201+
199202
# Update the opencode-cloud CLI binary
200203
occ update cli
201204

packages/cli-rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ comfy-table.workspace = true
4040
serde.workspace = true
4141
rand.workspace = true
4242
sysinfo.workspace = true
43+
reqwest.workspace = true
4344
dirs = "6"
4445

4546
[dev-dependencies]

0 commit comments

Comments
 (0)