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

Function label

packages/cli/src/ui/format.ts:42–45  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

40}
41
42export function label(name: string, value: string): string {
43 const pad = 14 - name.length;
44 return ` ${c.dim(name)}${" ".repeat(Math.max(1, pad))}${c.bold(value)}`;
45}
46
47export function errorBox(title: string, hint?: string, suggestion?: string): void {
48 console.error(`\n${c.error("\u2717")} ${c.bold(title)}`);

Callers 1

runFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected