Skip to content

Commit 8d558c2

Browse files
add missing command options descriptions (#284)
1 parent 3cce222 commit 8d558c2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

crates/cli/src/commands/components/new.rs

+2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ use crate::components::manifest::Manifest;
1111

1212
#[derive(Debug, clap::Parser)]
1313
pub struct Options {
14+
/// Will be used as the local folder name
1415
#[clap(long, short)]
1516
pub name: Option<String>,
1617

18+
/// One of the supported languages (c, c#, go, js, python, rust, typescript)
1719
#[clap(long, short)]
1820
pub language: Option<String>,
1921
}

crates/cli/src/commands/components/push.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ pub struct Options {
1616
/// Defaults to the user "self" org
1717
pub organization: Option<String>,
1818

19+
/// Will use the given login profile
1920
#[arg(short, long, id = "PROFILE", env = "EDGEE_API_PROFILE")]
2021
profile: Option<String>,
2122

23+
/// Will push the component as public
2224
#[arg(long, conflicts_with = "private")]
2325
pub public: bool,
2426

27+
/// Will push the component as private
2528
#[arg(long, conflicts_with = "public")]
2629
pub private: bool,
2730

31+
/// Will be used as version changelog (with no inline editor)
2832
#[arg(long)]
2933
pub changelog: Option<String>,
3034

31-
/// Run this command in non-interactive mode (no confirmation prompts)
35+
/// Run this command in non-interactive mode (with no confirmation prompts)
3236
#[arg(long = "yes")]
3337
noconfirm: bool,
3438
}

0 commit comments

Comments
 (0)