Remove support for navi query and navi best (#516)

This commit is contained in:
Denis Isidoro 2021-04-16 08:59:03 -03:00 committed by GitHub
parent 4eb74e7d23
commit 599b0c95bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 16 deletions

View file

@ -37,8 +37,6 @@ pub fn handle_config(config: Config) -> Result<()> {
cmds::core::main(config) cmds::core::main(config)
} }
}, },
_ => cmds::core::main(config),
}, },
} }
} }

View file

@ -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")