Added downloading capabilities in the gui

This commit is contained in:
2024-09-14 16:50:07 +03:00
parent 266b580df7
commit 52a55d8be2
15 changed files with 2062 additions and 1323 deletions

View File

@@ -2,7 +2,7 @@ use camino::Utf8PathBuf;
use clap::{Parser, Subcommand};
#[derive(Debug, Parser, Default)]
#[derive(Debug, Parser, Default, Clone)]
pub struct CliArgs {
/// Show more info
#[arg(long, short)]
@@ -25,7 +25,7 @@ pub struct CliArgs {
}
#[derive(Debug, Subcommand)]
#[derive(Debug, Subcommand, Clone)]
pub enum CliCommand {
Download,
Add {
@@ -34,7 +34,7 @@ pub enum CliCommand {
#[arg(long, short)]
name: Option<String>,
#[arg(long, short)]
genre: Option<String>
playlist: Option<String>
},
Gui
}