Skip to content

Commit

Permalink
Remove support for navi query and navi best (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro committed Apr 16, 2021
1 parent 4eb74e7 commit 599b0c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ pub fn handle_config(config: Config) -> Result<()> {
cmds::core::main(config)
}
},

_ => cmds::core::main(config),
},
}
}
14 changes: 0 additions & 14 deletions src/structures/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,20 +141,6 @@ pub struct Config {

#[derive(Debug, Clap)]
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
Fn {
/// Function name (example: "url::open")
Expand Down

0 comments on commit 599b0c9

Please sign in to comment.