From c893a178db3d53bcd535673b73b2c7db072283f6 Mon Sep 17 00:00:00 2001 From: Simon Klee Date: Thu, 5 Nov 2026 01:02:57 +0100 Subject: [PATCH] refactor(cli-rs): drop not_built now that every command is built mini was the last command stub; the helper was left unused and failed clippy's dead-code check. --- packages/cli-rs/crates/cli/src/commands/mod.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/cli-rs/crates/cli/src/commands/mod.rs b/packages/cli-rs/crates/cli/src/commands/mod.rs index 437673bdb72..9980bdfb461 100644 --- a/packages/cli-rs/crates/cli/src/commands/mod.rs +++ b/packages/cli-rs/crates/cli/src/commands/mod.rs @@ -1,5 +1,4 @@ -//! One module per top-level command. Each step fills its own module (plan 8.4); a stub reports that its command -//! is not built yet. +//! One module per top-level command. Each step fills its own module (plan 8.4). pub mod acp; pub mod api; @@ -55,11 +54,3 @@ pub fn run(context: &Context, cli: &Cli) -> anyhow::Result<()> { Command::Serve(args) => serve::run(context, args), } } - -/// The result of a command whose step has not landed yet. -pub fn not_built(command: &str, step: &str) -> anyhow::Result<()> { - anyhow::bail!( - "`{} {command}` is not built yet (plan step {step})", - crate::help::name() - ) -}