with fuzzy-clone

This commit is contained in:
2022-12-18 01:41:12 +01:00
parent 66105004e0
commit 27f63cc1f9
9 changed files with 298 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ impl util::Cmd for Auth {
}
fn exec(_: &clap::ArgMatches) -> eyre::Result<()> {
util::shell::run(&["src", "login"])?;
util::shell::run(&["src", "login"], None)?;
Ok(())
}

View File

@@ -5,7 +5,7 @@ pub struct Sourcegraph;
impl Sourcegraph {
fn run() -> eyre::Result<()> {
util::shell::run(&["src"])?;
util::shell::run(&["src"], None)?;
Err(eyre::anyhow!("missing argument"))
}

View File

@@ -24,7 +24,7 @@ impl util::Cmd for Search {
let mut cmd_args = vec!["src", "search", external];
cmd_args.append(&mut raw.iter().map(|s| &**s).collect());
util::shell::run(cmd_args.as_slice())?;
util::shell::run(cmd_args.as_slice(), None)?;
}
_ => todo!(),
}