From 7bf0c6678eaf4e95cb0bc066bc348cd8405745d5 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 17 Apr 2026 09:03:40 -0400 Subject: [PATCH] feat(cli): add `fabro docs` to landing Set up section Surfaces the docs website shortcut alongside the other onboarding commands so new users can find the web docs without hunting through `fabro help`. Co-Authored-By: Claude Opus 4.7 (1M context) --- lib/crates/fabro-cli/src/landing.rs | 1 + lib/crates/fabro-cli/tests/it/cmd/fabro.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/crates/fabro-cli/src/landing.rs b/lib/crates/fabro-cli/src/landing.rs index 61e51c21f..72483efad 100644 --- a/lib/crates/fabro-cli/src/landing.rs +++ b/lib/crates/fabro-cli/src/landing.rs @@ -36,6 +36,7 @@ pub(crate) fn print() { ("repo init", "Initialize Fabro in a repository"), ("server start", "Start the Fabro API server"), ("secret set", "Store a server-owned secret"), + ("docs", "Open the docs website in the browser"), ], cmd_width, ); diff --git a/lib/crates/fabro-cli/tests/it/cmd/fabro.rs b/lib/crates/fabro-cli/tests/it/cmd/fabro.rs index 41c1cdfd5..0e67c798d 100644 --- a/lib/crates/fabro-cli/tests/it/cmd/fabro.rs +++ b/lib/crates/fabro-cli/tests/it/cmd/fabro.rs @@ -79,6 +79,7 @@ fn no_args_prints_curated_landing() { fabro repo init Initialize Fabro in a repository fabro server start Start the Fabro API server fabro secret set Store a server-owned secret + fabro docs Open the docs website in the browser Run workflows