CLI: removed —tunnel param as we currently just support ngrok

This commit is contained in:
Matt Aitken
2023-06-30 12:17:44 +01:00
parent f69b92b153
commit c2e2f7cad9
3 changed files with 5 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/cli": patch
---
Removed --tunnel option, currently we just support ngrok
-5
View File
@@ -52,11 +52,6 @@ program
"The name of the env file to load",
".env.local"
)
.addOption(
new Option("-t, --tunnel <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);
-1
View File
@@ -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;