Added playlist downloading to cli

This commit is contained in:
2024-09-14 19:00:43 +03:00
parent 52a55d8be2
commit 29c7e452b0
8 changed files with 669 additions and 604 deletions

View File

@@ -30,11 +30,17 @@ pub enum CliCommand {
Download,
Add {
#[arg(long, short)]
url: Option<String>,
url: String,
#[arg(long, short)]
name: Option<String>,
name: String,
#[arg(long, short)]
playlist: Option<String>
playlist: String
},
AddPlaylist {
#[arg(long, short)]
url: String,
#[arg(long, short)]
name: String
},
Gui
}