diff --git a/Cargo.lock b/Cargo.lock index 045115c..6da5f80 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1512,7 +1512,7 @@ dependencies = [ [[package]] name = "talecast" -version = "0.1.7" +version = "0.1.8" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 174a3ec..beda171 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talecast" -version = "0.1.7" +version = "0.1.8" edition = "2021" description = "Simple CLI podcatcher" license = "MIT" @@ -12,7 +12,6 @@ chrono = "0.4.35" rss = "2.0.7" toml = "0.5" serde = { version = "1.0", features = ["derive"] } -#anyhow = "1.0.81" dirs = "5.0.1" indicatif = "0.17.8" reqwest = { version = "0.12.2", features = ["stream"] } @@ -31,4 +30,3 @@ quickxml_to_serde = "0.6.0" strum = "0.21" strum_macros = "0.21" uuid = "1.8.0" - diff --git a/shell.nix b/shell.nix index 7a03836..85753df 100644 --- a/shell.nix +++ b/shell.nix @@ -4,10 +4,6 @@ pkgs.mkShell { buildInputs = [ pkgs.openssl pkgs.pkg-config - pkgs.rustc - pkgs.cargo - pkgs.rustup - pkgs.rust-analyzer ]; } diff --git a/src/podcast.rs b/src/podcast.rs index a2266bf..5c208f9 100644 --- a/src/podcast.rs +++ b/src/podcast.rs @@ -75,7 +75,8 @@ impl Podcast { let configs: HashMap = { let path = crate::utils::podcasts_toml(); if !path.exists() { - eprintln!("You need to create a 'podcasts.toml' file to get started"); + eprintln!("No podcasts configured!"); + eprintln!("Add podcasts with \"{} --add 'url' 'name'\" or by manually configuring the podcasts.toml file.", crate::APPNAME); std::process::exit(1); } let config_str = std::fs::read_to_string(path).unwrap();