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
+15 -7
View File
@@ -1,12 +1,10 @@
use clap::{Args, Subcommand};
use crate::{
config_file::ConfigFileArgs,
environment::{EnvironmentCreateArgs, EnvironmentUpdateArgs},
mcp::MCPSpec,
model::ModelArgs,
provider::ProviderType,
};
use crate::config_file::ConfigFileArgs;
use crate::environment::{EnvironmentCreateArgs, EnvironmentUpdateArgs};
use crate::mcp::MCPSpec;
use crate::model::ModelArgs;
use crate::provider::ProviderType;
/// Integration-related subcommands.
#[derive(Debug, Clone, Subcommand)]
@@ -20,6 +18,16 @@ pub enum IntegrationCommand {
List,
}
impl IntegrationCommand {
pub(crate) fn as_str_for_tracing(&self) -> &'static str {
match self {
IntegrationCommand::Create(_) => "integration create",
IntegrationCommand::Update(_) => "integration update",
IntegrationCommand::List => "integration list",
}
}
}
#[derive(Debug, Clone, Args)]
pub struct CreateIntegrationArgs {
/// Provider to create the integration for.