From c40d93891df38ef8cc7e8f8d0916bfdec218a5d0 Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Fri, 16 Apr 2021 08:53:41 -0300 Subject: [PATCH 1/2] Remove support for navi query and navi best --- src/structures/config.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/structures/config.rs b/src/structures/config.rs index c3d5a025..5e655e68 100644 --- a/src/structures/config.rs +++ b/src/structures/config.rs @@ -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, - }, /// [Experimental] Performs ad-hoc, internal functions provided by navi Fn { /// Function name (example: "url::open") From 57e51e0f61617cab046c4ac77f3590c0ee99c8e2 Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Fri, 16 Apr 2021 08:55:28 -0300 Subject: [PATCH 2/2] Apr-16 08h55: handler.rs --- src/handler.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/handler.rs b/src/handler.rs index d3b97687..f71df1f8 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -37,8 +37,6 @@ pub fn handle_config(config: Config) -> Result<()> { cmds::core::main(config) } }, - - _ => cmds::core::main(config), }, } }