Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove support for navi query and navi best #516

Merged
merged 2 commits into from
Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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