shedctl CLI¶
shedctl drives the IPC socket — for humans and scripts. It is a small Rust binary
(crates/shedctl) with no GUI toolkit: it sends one request, prints the reply, and exits.
The Linux .deb installs it at /usr/bin/shedctl beside shed-desktop. The macOS app bundle
does not include it; build it from the monorepo with cargo build --release -p shedctl in
crates/ (the binary lands in crates/target/release/shedctl).
Socket resolution¶
The first of these that is set wins:
--socket PATH(a global flag, accepted anywhere on the command line)$SHED_TAURI_SOCKET$XDG_RUNTIME_DIR/shed-tauri.sock/tmp/shed-tauri-<uid>/shed-tauri.sock
This matches how the app picks its own socket, so with no overrides shedctl finds the
running app.
Commands¶
| Command | Op | Description |
|---|---|---|
shedctl identify |
identify |
Print the running app's identity and test mode |
shedctl sheds list |
sheds.list |
List sheds across configured hosts, with per-host failures |
shedctl dashboard dump |
dashboard.dump |
Dump the shed rows the dashboard rendered |
shedctl hosts auth |
hosts.auth |
Per-server credential mode (mtls, or token for any other entry: a server older than 0.10.0 still in token mode (removed in 0.10.0), or an entry that records no mode) and whether it was learned this session |
shedctl screenshot [--out FILE] [--scale N] |
app.screenshot |
Capture a PNG; with --out, decode it to FILE and print wrote FILE (WxH), else print the JSON reply. --scale is sent but the app ignores it |
shedctl shed <start\|stop\|reset\|delete> NAME [--host H] |
shed.<action> |
Run a shed lifecycle action |
shedctl raw <op> [--param k=v ...] |
any | Call an arbitrary op; each value is parsed as JSON when it parses (3, true, {"a":1}), else sent as a string |
Every other op in the IPC catalog — navigation, create, terminal, agent sessions,
delivery, system.df — is reached through shedctl raw.
A successful reply prints its result as pretty JSON and exits 0. An error reply prints
error <code>: <message> and exits 1, as does an unreachable socket. A usage error exits 2.