add basepath cmdline flag

this allows a basepath to be set via commandline where ncspot will place
configuration and cache files.

fixes #65
This commit is contained in:
Henrik Friedrichsen
2019-05-16 23:53:15 +02:00
parent 4a760ac128
commit 4b4a027c3c
4 changed files with 33 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -1560,6 +1560,7 @@ dependencies = [
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"fern 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"librespot 0.1.0 (git+https://github.com/librespot-org/librespot.git?rev=14721f4)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",