Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit 53b5edc

Browse files
committed
feat: infer monorepo root
1 parent 2d6faa4 commit 53b5edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/opts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub enum ClapSubCommand {
1919

2020
#[derive(Parser)]
2121
pub struct Link {
22-
#[clap(short, long, about = "Path to monorepo root")]
22+
#[clap(short, long, about = "Path to monorepo root", default_value = ".")]
2323
pub root: PathBuf,
2424
#[clap(
2525
long = "ignore",
@@ -36,7 +36,7 @@ pub struct Link {
3636

3737
#[derive(Parser)]
3838
pub struct Pin {
39-
#[clap(short, long, about = "Path to monorepo root")]
39+
#[clap(short, long, about = "Path to monorepo root", default_value = ".")]
4040
pub root: PathBuf,
4141
#[clap(
4242
long = "ignore",

0 commit comments

Comments
 (0)