refactor(cli): regroup landing output around lifecycle stages

Moves `server start` and `secret set` into Set up so the first section
covers everything a user does once before they have a working install.
Drops `secret list` from the landing — `fabro --help` still surfaces it.
Merges the run-inspection commands (`logs`, `sandbox ssh`, `sandbox
preview`, `sandbox cp`) under a single "Inspect runs" heading, since
they all answer "what happened in this run?".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-17 09:01:08 -04:00
parent a4159f7bb6
commit ae2efaabf9
No known key found for this signature in database
2 changed files with 14 additions and 26 deletions

View file

@ -34,6 +34,8 @@ pub(crate) fn print() {
),
("doctor", "Check environment and integration health"),
("repo init", "Initialize Fabro in a repository"),
("server start", "Start the Fabro API server"),
("secret set", "Store a server-owned secret"),
],
cmd_width,
);
@ -44,24 +46,14 @@ pub(crate) fn print() {
("validate", "Validate a workflow"),
("preflight", "Validate run configuration without executing"),
("run", "Launch a workflow run"),
],
cmd_width,
);
section(
"Inspect runs",
&[
("logs", "View the event log of a workflow run"),
],
cmd_width,
);
section(
"Server & secrets",
&[
("server start", "Start the Fabro API server"),
("secret set", "Store a server-owned secret"),
("secret list", "List server-owned secrets"),
],
cmd_width,
);
section(
"Inspect sandboxes",
&[
("sandbox ssh", "SSH into a run's sandbox"),
(
"sandbox preview",

View file

@ -77,22 +77,18 @@ fn no_args_prints_curated_landing() {
fabro install Set up the Fabro environment (LLMs, certs, GitHub)
fabro doctor Check environment and integration health
fabro repo init Initialize Fabro in a repository
fabro server start Start the Fabro API server
fabro secret set Store a server-owned secret
Run workflows
fabro validate Validate a workflow
fabro preflight Validate run configuration without executing
fabro run Launch a workflow run
Inspect runs
fabro logs View the event log of a workflow run
Server & secrets
fabro server start Start the Fabro API server
fabro secret set Store a server-owned secret
fabro secret list List server-owned secrets
Inspect sandboxes
fabro sandbox ssh SSH into a run's sandbox
fabro sandbox preview Get a preview URL for a port on a run's sandbox
fabro sandbox cp Copy files to/from a run's sandbox