Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: Remove rad-web from help
Merged did:key:z6MkkfM3...sVz5 opened 2 years ago

Due to it not being stable, and eventually the auth flow to be rewritten, it should be removed.

1 file changed +0 -12 d1e2e3b6 9950182e
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();