mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 11:33:10 +00:00
Remove support for navi query and navi best (#516)
This commit is contained in:
parent
4eb74e7d23
commit
599b0c95bd
2 changed files with 0 additions and 16 deletions
|
@ -37,8 +37,6 @@ pub fn handle_config(config: Config) -> Result<()> {
|
||||||
cmds::core::main(config)
|
cmds::core::main(config)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_ => cmds::core::main(config),
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,20 +141,6 @@ pub struct Config {
|
||||||
|
|
||||||
#[derive(Debug, Clap)]
|
#[derive(Debug, Clap)]
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
/// Filters results
|
|
||||||
#[clap(setting = AppSettings::Hidden)]
|
|
||||||
Query {
|
|
||||||
/// String used as filter (example: "git")
|
|
||||||
query: String,
|
|
||||||
},
|
|
||||||
/// Autoselects the snippet that best matches the query
|
|
||||||
#[clap(setting = AppSettings::Hidden)]
|
|
||||||
Best {
|
|
||||||
/// String used as filter (example: "git remove branch")
|
|
||||||
query: String,
|
|
||||||
/// List of arguments (example: "mybranch" "remote")
|
|
||||||
args: Vec<String>,
|
|
||||||
},
|
|
||||||
/// [Experimental] Performs ad-hoc, internal functions provided by navi
|
/// [Experimental] Performs ad-hoc, internal functions provided by navi
|
||||||
Fn {
|
Fn {
|
||||||
/// Function name (example: "url::open")
|
/// Function name (example: "url::open")
|
||||||
|
|
Loading…
Reference in a new issue