Skip to content

Commit 11d30d7

Browse files
authored
fix: use current directory as default for output_dir arg (#78)
1 parent 3301561 commit 11d30d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct Cli {
1717
pub template: Option<String>,
1818

1919
/// Where to output the project: defaults to the current directory
20-
#[clap(short = 'o', long)]
20+
#[clap(short = 'o', long, default_value_os_t = PathBuf::from("."))]
2121
pub output_dir: PathBuf,
2222

2323
/// The directory of the given folder/repository to use, which needs to be a template.

0 commit comments

Comments
 (0)