From 9950182ee02a5b4db52fe87e0b846c4abe327425 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Mon, 4 Mar 2024 10:43:31 +0100 Subject: [PATCH] cli: Remove rad-web from help Due to it not being stable, and eventually the auth flow to be rewritten, it should be removed. --- radicle-cli/src/commands/help.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/radicle-cli/src/commands/help.rs b/radicle-cli/src/commands/help.rs index 0dcd2718..da7e5016 100644 --- a/radicle-cli/src/commands/help.rs +++ b/radicle-cli/src/commands/help.rs @@ -1,6 +1,4 @@ use std::ffi::OsString; -use std::process::Command; -use std::str; use crate::terminal as term; use crate::terminal::args::{Args, Error, Help}; @@ -85,16 +83,6 @@ pub fn run(_options: Options, ctx: impl term::Context) -> anyhow::Result<()> { term::format::dim(help.description) ); } - // Obtain the rad-web help. - if let Ok(output) = Command::new("rad-web").arg("--help").output() { - if let Some(description) = str::from_utf8(&output.stdout)?.lines().nth(1) { - term::info!( - "\t{} {}", - term::format::bold(format!("{:-12}", "web")), - term::format::dim(description) - ); - } - } term::blank(); term::print("See `rad --help` to learn about a specific command."); term::blank();