Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing command options descriptions #284

Merged
merged 1 commit into from
Mar 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/cli/src/commands/components/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ use crate::components::manifest::Manifest;

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

/// One of the supported languages (c, c#, go, js, python, rust, typescript)
#[clap(long, short)]
pub language: Option<String>,
}
Expand Down
6 changes: 5 additions & 1 deletion crates/cli/src/commands/components/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ pub struct Options {
/// Defaults to the user "self" org
pub organization: Option<String>,

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

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

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

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

/// Run this command in non-interactive mode (no confirmation prompts)
/// Run this command in non-interactive mode (with no confirmation prompts)
#[arg(long = "yes")]
noconfirm: bool,
}
Expand Down