aboutsummaryrefslogtreecommitdiffstats
path: root/src/command_handler.rs
diff options
context:
space:
mode:
authorNathan Jaremko2019-03-08 01:22:45 -0500
committerNathan Jaremko2019-03-08 01:22:45 -0500
commit1f529fde9e67f5b9c5a4984453d844357532910f (patch)
treea262eaa17b8eff551ba4c67c9c5c6cded1bab698 /src/command_handler.rs
parentcf8d69e765549bd08b4e05313927068b96c7cbe7 (diff)
downloadpodcast-1f529fde9e67f5b9c5a4984453d844357532910f.tar.bz2
Add podcast search support
Diffstat (limited to 'src/command_handler.rs')
-rw-r--r--src/command_handler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_handler.rs b/src/command_handler.rs
index 742b79e..f65028b 100644
--- a/src/command_handler.rs
+++ b/src/command_handler.rs
@@ -24,7 +24,7 @@ pub fn parse_sub_command(matches: &ArgMatches) -> commands::Command {
pub fn handle_matches(
version: &str,
state: &mut State,
- config: &Config,
+ config: Config,
app: &mut App,
matches: &ArgMatches,
) -> Result<()> {
@@ -43,7 +43,7 @@ pub fn handle_matches(
arg_parser::subscribe(state, config, matches)?;
}
commands::Command::Search => {
- println!("This feature is coming soon...");
+ arg_parser::search(state, config, matches)?;
}
commands::Command::Remove => {
arg_parser::remove(state, matches)?;