MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / run

Function run

packages/cli/src/commands/cloudrun.ts:201–224  ·  view source on GitHub ↗
({ args })

Source from the content-addressed store, hash-verified

199 },
200 // fallow-ignore-next-line complexity
201 async run({ args }) {
202 const subcommand = args.subcommand as string | undefined;
203 if (!subcommand) {
204 console.log(HELP);
205 return;
206 }
207 switch (subcommand) {
208 case "deploy":
209 return runDeploy(args);
210 case "sites":
211 return runSites(args);
212 case "render":
213 return runRender(args);
214 case "render-batch":
215 return runRenderBatch(args);
216 case "progress":
217 return runProgress(args);
218 case "destroy":
219 return runDestroy(args);
220 default:
221 console.error(`${c.error("Unknown subcommand:")} ${subcommand}\n${HELP}`);
222 process.exit(1);
223 }
224 },
225});
226
227// ── State helpers ─────────────────────────────────────────────────────────

Callers 2

runDeployFunction · 0.70
runDestroyFunction · 0.70

Calls 7

runSitesFunction · 0.85
errorMethod · 0.80
runDeployFunction · 0.70
runRenderFunction · 0.70
runRenderBatchFunction · 0.70
runProgressFunction · 0.70
runDestroyFunction · 0.70

Tested by

no test coverage detected