From 63afb6b67c23aad38a51e829f0ae7bfd5c41def6 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 15 May 2024 00:35:54 -0500 Subject: [PATCH] chore(wash-lib)!: Remove deprecated RegistryPingCommand Signed-off-by: Joonas Bergius --- crates/wash-lib/src/cli/registry.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/crates/wash-lib/src/cli/registry.rs b/crates/wash-lib/src/cli/registry.rs index bc47849c69..1110fcd43c 100644 --- a/crates/wash-lib/src/cli/registry.rs +++ b/crates/wash-lib/src/cli/registry.rs @@ -35,9 +35,6 @@ pub enum RegistryCommand { /// Push an artifact to an OCI compliant registry #[clap(name = "push")] Push(RegistryPushCommand), - /// Ping (test url) to see if the OCI url has an artifact - #[clap(name = "ping")] - Ping(RegistryPingCommand), } #[derive(Parser, Debug, Clone)] @@ -95,17 +92,3 @@ pub struct RegistryPushCommand { #[clap(flatten)] pub opts: AuthOpts, } - -#[derive(Parser, Debug, Clone)] -pub struct RegistryPingCommand { - /// URL of artifact - #[clap(name = "url")] - pub url: String, - - /// Registry of artifact. This is only needed if the URL is not a full (OCI) artifact URL (ie, missing the registry fragment) - #[clap(short = 'r', long = "registry", env = "WASH_REG_URL")] - pub registry: Option, - - #[clap(flatten)] - pub opts: AuthOpts, -}