MCPcopy Create free account
hub / github.com/cursor/plugins / line

Function line

orchestrate/skills/orchestrate/scripts/cli/inspect.ts:93–94  ·  view source on GitHub ↗
(cells: string[])

Source from the content-addressed store, hash-verified

91 Math.max(c.header.length, ...rows.map(r => c.get(r).length))
92 );
93 const line = (cells: string[]) =>
94 cells.map((c, i) => c.padEnd(widths[i] ?? 0)).join(" ");
95 console.log(line(cols.map(c => c.header)));
96 for (const r of rows) console.log(line(cols.map(c => c.get(r))));
97 }

Callers 1

registerInspectCommandsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected