From b523a383627e2d5839f6d5fe594d2d48b296517a Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Fri, 29 Mar 2024 16:27:15 +0100 Subject: [PATCH] refactor(cli): remove standalone cli subcommands --- cli/send.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cli/send.ts b/cli/send.ts index 4a4bf68..1838825 100644 --- a/cli/send.ts +++ b/cli/send.ts @@ -56,11 +56,3 @@ export const cmd = new Command() await send(mail) }, ) - -if (import.meta.main) { - if (Deno.args.length) { - cmd.parse(Deno.args) - } else { - cmd.showHelp() - } -}