From c2e2f7cad99bbb563c1ae79dd470e9ec28cc853e Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Fri, 30 Jun 2023 12:17:44 +0100 Subject: [PATCH] =?UTF-8?q?CLI:=20removed=20=E2=80=94tunnel=20param=20as?= =?UTF-8?q?=20we=20currently=20just=20support=20ngrok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/lovely-hounds-accept.md | 5 +++++ packages/cli/src/cli/index.ts | 5 ----- packages/cli/src/commands/dev.ts | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .changeset/lovely-hounds-accept.md diff --git a/.changeset/lovely-hounds-accept.md b/.changeset/lovely-hounds-accept.md new file mode 100644 index 000000000..40ac71311 --- /dev/null +++ b/.changeset/lovely-hounds-accept.md @@ -0,0 +1,5 @@ +--- +"@trigger.dev/cli": patch +--- + +Removed --tunnel option, currently we just support ngrok diff --git a/packages/cli/src/cli/index.ts b/packages/cli/src/cli/index.ts index 967c67fe3..8e02e47a4 100644 --- a/packages/cli/src/cli/index.ts +++ b/packages/cli/src/cli/index.ts @@ -52,11 +52,6 @@ program "The name of the env file to load", ".env.local" ) - .addOption( - new Option("-t, --tunnel ", "Choose the tunnel provider") - .choices(["ngrok", "localtunnel", "trigger.dev (coming soon)"]) - .default("ngrok") - ) .version(getVersion(), "-v, --version", "Display the version number") .action(async (path, options) => { await devCommand(path, options); diff --git a/packages/cli/src/commands/dev.ts b/packages/cli/src/commands/dev.ts index 40bfb66f8..f61030828 100644 --- a/packages/cli/src/commands/dev.ts +++ b/packages/cli/src/commands/dev.ts @@ -11,7 +11,6 @@ import chokidar from "chokidar"; export const DevCommandOptionsSchema = z.object({ port: z.coerce.number(), envFile: z.string(), - tunnel: z.union([z.literal("ngrok"), z.literal("localtunnel")]), }); const compileTimeWaitMs = 300;