Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Remove rad-web from help
Sebastian Martinez committed 2 years ago
commit 9950182ee02a5b4db52fe87e0b846c4abe327425
parent b917c1b41197a2b92884f92edbed417902a9ea59
1 file changed +0 -12
modified 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 <command> --help` to learn about a specific command.");
    term::blank();