summaryrefslogtreecommitdiffstats
path: root/src/cmd/sync.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/sync.rs
parent07f8d93eff3fd186b7c9bc5125e00cef16bd1a42 (diff)
downloadlastfm-query-ef7cd5bc677c6aabf5517e74ab64eb84d4784057.tar.gz
lastfm-query-ef7cd5bc677c6aabf5517e74ab64eb84d4784057.zip
unify cli and cmd
Diffstat (limited to 'src/cmd/sync.rs')
-rw-r--r--src/cmd/sync.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/sync.rs b/src/cmd/sync.rs
index 3dc7ba8..5b71954 100644
--- a/src/cmd/sync.rs
+++ b/src/cmd/sync.rs
@@ -1,4 +1,3 @@
-use cli;
use db;
use lastfm;
use paths;
@@ -27,7 +26,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()?)?;
let lastfm = lastfm::LastFMClient::new(&self.username)?;