deskctl upgrade (#13)

* deskctl upgrade

* interactive update
as well as --yes flag
This commit is contained in:
Hari 2026-03-26 11:53:15 -04:00 committed by GitHub
parent 2b02513d6e
commit a64b46b479
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 603 additions and 2 deletions

View file

@ -13,6 +13,7 @@ reads, grouped waits, selector-driven actions, and a few input primitives.
```sh
deskctl doctor
deskctl upgrade
deskctl snapshot
deskctl snapshot --annotate
deskctl list-windows
@ -26,7 +27,9 @@ deskctl get-screen-size
deskctl get-mouse-position
```
`doctor` checks the runtime before daemon startup. `snapshot` produces a
`doctor` checks the runtime before daemon startup. `upgrade` checks for a newer
published version, shows a short confirmation prompt when an update is
available, and supports `--yes` for non-interactive use. `snapshot` produces a
screenshot plus window refs. `list-windows` is the same window tree without the
side effect of writing a screenshot. The grouped `get` commands are the
preferred read surface for focused state queries.