diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-10 00:50:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-10 00:50:24 -0500 |
commit | bd1e965f936c9fe652bd940c1f12e3327f06a222 (patch) | |
tree | db9b8e5dae39de9b53c83ce2c1138454be005576 /src/main.rs | |
parent | 6d4abd89b2dfcdce0bd59d627a31e92fcc745c94 (diff) | |
download | lastfm-query-bd1e965f936c9fe652bd940c1f12e3327f06a222.tar.gz lastfm-query-bd1e965f936c9fe652bd940c1f12e3327f06a222.zip |
add sql subcommand for raw queries
this was more painful than i think it should have been
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 4638adf..b43f310 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,6 +22,7 @@ fn run() -> failure::Fallible<()> { let command = cli::get_options()?; match command { cli::Command::Sync { username } => cmd::sync::run(&username), + cli::Command::SQL { query, tsv } => cmd::sql::run(&query, tsv), } } |