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.
This commit is contained in:
Simon Klee
2026-11-05 01:02:57 +01:00
Unverified
parent 7d656b33a7
commit c893a178db
+1 -10
View File
@@ -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()
)
}