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

Function initCommand

packages/cli-v3/src/commands/init.ts:68–72  ·  view source on GitHub ↗
(dir: string, options: unknown)

Source from the content-addressed store, hash-verified

66}
67
68export async function initCommand(dir: string, options: unknown) {
69 return await wrapCommandAction("initCommand", InitCommandOptions, options, async (opts) => {
70 return await _initCommand(dir, opts);
71 });
72}
73
74async function _initCommand(dir: string, options: InitCommandOptions) {
75 const span = trace.getSpan(context.active());

Callers 1

configureInitCommandFunction · 0.70

Calls 2

wrapCommandActionFunction · 0.85
_initCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…