feat: add profile option to Args with default 'default'
Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
parent
c1013feda6
commit
5631a12c7c
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ struct Args {
|
||||||
/// The URL of the video/music to download
|
/// The URL of the video/music to download
|
||||||
#[arg(name = "URL")]
|
#[arg(name = "URL")]
|
||||||
url: String,
|
url: String,
|
||||||
|
|
||||||
|
/// Profile name to use from config (falls back to 'default')
|
||||||
|
#[arg(short, long, default_value = "default")]
|
||||||
|
profile: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue