CLI: removed —tunnel param as we currently just support ngrok
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/cli": patch
|
||||
---
|
||||
|
||||
Removed --tunnel option, currently we just support ngrok
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user