From b74fb8b7c287ca2302a324390154ac66df23f2de Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Fri, 17 Jul 2026 17:14:30 -0500 Subject: [PATCH] Kill drake --- src/cmd_drake.rs | 16 ---------------- src/main.rs | 4 ---- 2 files changed, 20 deletions(-) delete mode 100644 src/cmd_drake.rs diff --git a/src/cmd_drake.rs b/src/cmd_drake.rs deleted file mode 100644 index d7d57bcd..00000000 --- a/src/cmd_drake.rs +++ /dev/null @@ -1,16 +0,0 @@ -use anyhow::Result; -use clap::Parser; - -/// Open a drake meme in your web browser. -/// -/// $ zoo drake -#[derive(Parser, Debug, Clone)] -#[clap(verbatim_doc_comment)] -pub struct CmdDrake {} - -#[async_trait::async_trait(?Send)] -impl crate::cmd::Command for CmdDrake { - async fn run(&self, ctx: &mut crate::context::Context) -> Result<()> { - ctx.browser("", "https://dl.zoo.dev/drake.jpeg") - } -} diff --git a/src/main.rs b/src/main.rs index da2d8751..0e30ca63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,8 +20,6 @@ pub mod cmd_auth; pub mod cmd_completion; /// The config command. pub mod cmd_config; -/// The drake command. -pub mod cmd_drake; /// The file command. pub mod cmd_file; /// The generate command. @@ -151,7 +149,6 @@ enum SubCommand { Auth(cmd_auth::CmdAuth), Completion(cmd_completion::CmdCompletion), Config(cmd_config::CmdConfig), - Drake(cmd_drake::CmdDrake), File(cmd_file::CmdFile), Generate(cmd_generate::CmdGenerate), Kcl(cmd_kcl::CmdKcl), @@ -287,7 +284,6 @@ async fn do_main(mut args: Vec, ctx: &mut crate::context::Context<'_>) - SubCommand::Auth(cmd) => run_cmd(&cmd, ctx).await, SubCommand::Completion(cmd) => run_cmd(&cmd, ctx).await, SubCommand::Config(cmd) => run_cmd(&cmd, ctx).await, - SubCommand::Drake(cmd) => run_cmd(&cmd, ctx).await, SubCommand::File(cmd) => run_cmd(&cmd, ctx).await, SubCommand::Generate(cmd) => run_cmd(&cmd, ctx).await, SubCommand::Kcl(cmd) => run_cmd(&cmd, ctx).await,