Skip to content

Commit 73c174a

Browse files
committed
feat: make the --name, --author, and --url flags optional
1 parent c279660 commit 73c174a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/args.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ use crate::github_repo::GitHubRepo;
55
#[derive(Debug, Parser)]
66
#[command(author, version, about, long_about = None)]
77
pub struct Args {
8-
#[arg(long)]
8+
#[arg(long, default_value = "")]
99
pub name: String,
1010

11-
#[arg(long)]
11+
#[arg(long, default_value = "")]
1212
pub author: String,
1313

14-
#[arg(long)]
14+
#[arg(long, default_value = "")]
1515
pub url: String,
1616

1717
#[arg(long, value_delimiter = ',')]

0 commit comments

Comments
 (0)