Watch
0
0
Fork
You've already forked hyperhive
0

swarmctl setup status shows progress at a glance

This commit is contained in:
atlas 2026-11-09 10:31:27 +01:00 • committed by mara
commit d55cf9ed80

View file

@ -240,14 +240,22 @@ and the verbs. The flow is `src/interactive.rs`; the terminal and side effects a
```console
# swarmctl setup status
1 secret store initialised: done
2 secret store unsealed: not done (the store is sealed)
🏗️ setup: 1/8 steps done █░░░░░░░░░
✅ 1 secret store initialised
👉 2 secret store unsealed the store is sealed
↳ setup.md § 1: `bao operator unseal`
...
next: step 2, setup.md § 1: `bao operator unseal`
```
One line per step of [`docs/1-getting-started/setup.md`](../docs/1-getting-started/setup.md),
`done`, `not done` or `unknown (<why>)`, and a pointer to the first step left.
A header with the count and a bar, then one line per step of
[`docs/1-getting-started/setup.md`](../docs/1-getting-started/setup.md): `✅` done,
`⬜` not done, `❓` unknown with the reason. The first step left is marked `👉` with its hint, and
the last line is that hint, or `🎉 setup complete`. The count and bar cover the steps the host can
observe; failed checks show as `❓ N unknown` in the header. On a terminal, `checking <what>…`
shows on stderr while the checks run, and colour is on unless `NO_COLOR` is set; piped output is plain.
Read-only, and it needs no token. Where each step is read from:
| steps | read from |