From 67073417c345cc7399808ffec03a7e34eb350b91 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Nov 2018 04:52:09 -0500 Subject: add a command to recommend things to listen to --- src/cmd/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/mod.rs') diff --git a/src/cmd/mod.rs b/src/cmd/mod.rs index 2c4873f..1cbe362 100644 --- a/src/cmd/mod.rs +++ b/src/cmd/mod.rs @@ -1,5 +1,6 @@ mod sql; mod sync; +mod recommend; const _DUMMY_DEPENDENCY: &'static str = include_str!("../../Cargo.toml"); @@ -15,11 +16,13 @@ fn get_command() -> failure::Fallible> { let matches = app_from_crate!() .subcommand(sync::subcommand()) .subcommand(sql::subcommand()) + .subcommand(recommend::subcommand()) .get_matches(); let command: Box = match matches.subcommand() { ("sync", Some(matches)) => Box::new(sync::Command::new(matches)), ("sql", Some(matches)) => Box::new(sql::Command::new(matches)), + ("recommend", Some(matches)) => Box::new(recommend::Command::new(matches)?), (name, Some(_)) => bail!("unknown subcommand: {}", name), (_, None) => bail!("no subcommand given"), -- cgit v1.2.3-54-g00ecf