From 56a96c4efb151e650b1d9b234e8dcd74e110e893 Mon Sep 17 00:00:00 2001 From: Sascha Eglau Date: Wed, 21 Feb 2024 11:26:08 +0100 Subject: [PATCH] refactor: org is now a global arg --- src/commands/environments.rs | 2 -- src/commands/services.rs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/commands/environments.rs b/src/commands/environments.rs index b548b56..9ef8584 100644 --- a/src/commands/environments.rs +++ b/src/commands/environments.rs @@ -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, } impl Create { diff --git a/src/commands/services.rs b/src/commands/services.rs index 8bcd942..abe757c 100644 --- a/src/commands/services.rs +++ b/src/commands/services.rs @@ -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, - #[arg(long, help = "Organization to deploy to")] - org: Option, } #[derive(Serialize, Deserialize, Debug)] @@ -407,8 +405,6 @@ impl InitPlan { #[derive(Parser)] #[derive(Debug)] pub struct List { - #[arg(long, help = "Organization to list the services of")] - org: Option, #[arg(long, help = "Environment to list the services of")] env: String, }