MCPcopy
hub / github.com/triggerdotdev/trigger.dev / configureDevCommand

Function configureDevCommand

packages/cli-v3/src/commands/dev.tsx:72–91  ·  view source on GitHub ↗
(program: Command)

Source from the content-addressed store, hash-verified

70type DevCommandOptions = z.infer<typeof DevCommandOptions>;
71
72export function configureDevCommand(program: Command) {
73 return commonOptions(
74 program
75 .command("dev")
76 .description("Run your Trigger.dev tasks locally")
77 .argument("[path]", "The path to the project", ".")
78 .option("-c, --config <config file>", "The name of the config file, found at [path].")
79 .option(
80 "-p, --project-ref <project ref>",
81 "The project ref. Required if there is no config file."
82 )
83 .option("--debugger", "Enable the debugger")
84 .option("--debug-otel", "Enable OpenTelemetry debugging")
85 .option("--skip-update-check", "Skip checking for @trigger.dev package updates")
86 ).action(async (path, options) => {
87 wrapCommandAction("dev", DevCommandOptions, options, async (opts) => {
88 await devCommand(path, opts);
89 });
90 });
91}
92
93const MINIMUM_NODE_MAJOR = 18;
94const MINIMUM_NODE_MINOR = 16;

Callers 1

index.tsFile · 0.85

Calls 3

commonOptionsFunction · 0.85
wrapCommandActionFunction · 0.85
devCommandFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…