devbox/cmd/devbox
shoemoney 4fa2ef1369 feat: optional first-run setup wizard 🧭
Bare 'devbox' on a fresh, unjoined machine offers a step-by-step wizard:
  [Y] yes please   [n] no, I'm a devbox expert — don't ask again
'n' writes a setup-skipped marker in the config dir and never asks again;
'devbox setup' runs it explicitly anytime. The wizard owns the one fiddly
step (join: hub URL + token, with a hint where to get the token) then
points at mount/publish/start — mount stays a printed next-step, not a
reimplementation (ponytail). Gated on a real TTY so pipes/scripts are
never blocked; extracted a shared joinHub helper so the wizard and
'devbox join' don't diverge. Stdlib ModeCharDevice (no go-isatty).
Test: opt-out gate + don't-ask-again persistence.
2026-06-23 12:21:56 -05:00
..
control.go refactor(M8): drop go-isatty dep for stdlib ModeCharDevice (ponytail) ♻️ 2026-06-23 10:47:46 -05:00
main.go feat: optional first-run setup wizard 🧭 2026-06-23 12:21:56 -05:00
main_test.go fix(M7): review fixes — pidfile O_EXCL, publish race, backoff reset 🐛 2026-06-23 01:37:58 -05:00
pidfile.go harden: domain-separate the join challenge + inline pidfile wrapper (ponytail) 🪪♻️ 2026-06-23 03:25:28 -05:00
pidfile_test.go harden: domain-separate the join challenge + inline pidfile wrapper (ponytail) 🪪♻️ 2026-06-23 03:25:28 -05:00
wizard.go feat: optional first-run setup wizard 🧭 2026-06-23 12:21:56 -05:00
wizard_test.go feat: optional first-run setup wizard 🧭 2026-06-23 12:21:56 -05:00