Added downloading capabilities in the gui
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user