first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+13
View File
@@ -101,6 +101,19 @@ pub enum EnvironmentCommand {
},
}
impl EnvironmentCommand {
pub(crate) fn as_str_for_tracing(&self) -> &'static str {
match self {
EnvironmentCommand::List => "environment list",
EnvironmentCommand::Image(_) => "environment image",
EnvironmentCommand::Create { .. } => "environment create",
EnvironmentCommand::Delete { .. } => "environment delete",
EnvironmentCommand::Get { .. } => "environment get",
EnvironmentCommand::Update { .. } => "environment update",
}
}
}
/// Common arguments for selecting an environment when creating an integration.
#[derive(Args, Clone, Debug)]
#[group(required = false, multiple = false)]