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

Function printStudioSummary

packages/cli/src/commands/preview.ts:647–662  ·  view source on GitHub ↗
(
  projectName: string,
  url: string,
  opts: { details?: string[]; footer?: string } = {},
)

Source from the content-addressed store, hash-verified

645}
646
647function printStudioSummary(
648 projectName: string,
649 url: string,
650 opts: { details?: string[]; footer?: string } = {},
651): void {
652 console.log();
653 console.log(` ${c.dim("Project")} ${c.accent(projectName)}`);
654 console.log(` ${c.dim("Studio")} ${c.accent(url)}`);
655 console.log();
656 for (const detail of opts.details ?? []) {
657 console.log(` ${c.dim(detail)}`);
658 }
659 if (opts.details?.length && opts.footer) console.log();
660 if (opts.footer) console.log(` ${c.dim(opts.footer)}`);
661 console.log();
662}
663
664function linkProjectIntoStudioData(
665 dir: string,

Callers 2

handleOutputFunction · 0.85
runEmbeddedModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected