From bb44856fd01abd4c4edbdd3ba92520f993d13772 Mon Sep 17 00:00:00 2001 From: Ludo Galabru Date: Thu, 24 Jun 2021 18:29:51 -0400 Subject: [PATCH] fix: turn manifest-path into optional argument --- src/frontend/cli.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/cli.rs b/src/frontend/cli.rs index d624ccd64..7e214d8ce 100644 --- a/src/frontend/cli.rs +++ b/src/frontend/cli.rs @@ -80,6 +80,7 @@ struct NewContract { #[clap(short = 'd')] pub debug: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, } @@ -91,6 +92,7 @@ struct LinkContract { #[clap(short = 'd')] pub debug: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, } @@ -102,6 +104,7 @@ struct ForkContract { #[clap(short = 'd')] pub debug: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, // /// Fork contract and all its dependencies // #[clap(short = 'r')] @@ -114,6 +117,7 @@ struct Console { #[clap(short = 'd')] pub debug: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, } @@ -126,6 +130,7 @@ struct Test { #[clap(long = "coverage")] pub coverage: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, /// Relaunch tests on updates #[clap(long = "watch")] @@ -143,6 +148,7 @@ struct Run { /// Script to run pub script: String, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, } @@ -158,6 +164,7 @@ struct Deploy { #[clap(long = "testnet", conflicts_with = "mocknet")] pub testnet: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, } @@ -167,6 +174,7 @@ struct Check { #[clap(short = 'd')] pub debug: bool, /// Path to Clarinet.toml + #[clap(long = "manifest-path")] pub manifest_path: Option, }