feat: add verbose flag

This commit is contained in:
YuKun Liu committed 2022-06-06 21:48:14 +08:00
1 parent d20e7ab508
commit 421d2ed298
5 files changed
+27 -1

No files matched your search

+10
View File
@@ -12,6 +12,11 @@ pub struct ConfigOptsBuild {
#[serde(default)]
pub release: bool,
// Use verbose output [default: false]
#[clap(long)]
#[serde(default)]
pub verbose: bool,
/// Build a example [default: ""]
#[clap(long)]
pub example: Option<String>,
@@ -44,6 +49,11 @@ pub struct ConfigOptsServe {
#[serde(default)]
pub release: bool,
// Use verbose output [default: false]
#[clap(long)]
#[serde(default)]
pub verbose: bool,
/// Build with custom profile
#[clap(long)]
pub profile: Option<String>,