summaryrefslogtreecommitdiffstats
path: root/src/cmd/sql.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-10 02:42:17 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-10 02:42:17 -0500
commitef7cd5bc677c6aabf5517e74ab64eb84d4784057 (patch)
treea176623ad0a80804e1d4f6b714b202e5defa1fb0 /src/cmd/sql.rs
parent07f8d93eff3fd186b7c9bc5125e00cef16bd1a42 (diff)
downloadlastfm-query-ef7cd5bc677c6aabf5517e74ab64eb84d4784057.tar.gz
lastfm-query-ef7cd5bc677c6aabf5517e74ab64eb84d4784057.zip
unify cli and cmd
Diffstat (limited to 'src/cmd/sql.rs')
-rw-r--r--src/cmd/sql.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/sql.rs b/src/cmd/sql.rs
index f0dd4b0..d31f326 100644
--- a/src/cmd/sql.rs
+++ b/src/cmd/sql.rs
@@ -1,4 +1,3 @@
-use cli;
use db;
use paths;
@@ -33,7 +32,7 @@ impl Command {
}
}
-impl cli::Command for Command {
+impl super::Command for Command {
fn run(&self) -> failure::Fallible<()> {
let db = db::DB::new(&paths::db_path()?)?;