cli: Remove rad-web from help
Due to it not being stable, and eventually the auth flow to be rewritten, it should be removed.
This commit is contained in:
parent
b917c1b411
commit
9950182ee0
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue