Skip to content

Commit

Permalink
refactor: org is now a global arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tmlye committed Feb 21, 2024
1 parent f84d494 commit 56a96c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/commands/environments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ pub enum Commands {
pub struct Create {
#[arg(help = "Name of the environment to create")]
name: String,
#[arg(long, help = "Organization to create the environment in")]
org: Option<String>,
}

impl Create {
Expand Down
4 changes: 0 additions & 4 deletions src/commands/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ pub struct Deploy {
manifest: String,
#[arg(long, help = "Skip confirmation", default_missing_value("true"), default_value("false"), num_args(0..=1), require_equals(true))]
no_confirm: Option<bool>,
#[arg(long, help = "Organization to deploy to")]
org: Option<String>,
}

#[derive(Serialize, Deserialize, Debug)]
Expand Down Expand Up @@ -407,8 +405,6 @@ impl InitPlan {
#[derive(Parser)]
#[derive(Debug)]
pub struct List {
#[arg(long, help = "Organization to list the services of")]
org: Option<String>,
#[arg(long, help = "Environment to list the services of")]
env: String,
}
Expand Down

0 comments on commit 56a96c4

Please sign in to comment.