MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / renderProjectText

Function renderProjectText

src/commands/project.ts:574–583  ·  view source on GitHub ↗
(p: CliProject)

Source from the content-addressed store, hash-verified

572}
573
574function renderProjectText(p: CliProject): string {
575 return [
576 `id: ${p.id}`,
577 `name: ${p.name}`,
578 `type: ${p.type}`,
579 `createdFrom: ${p.createdFrom}`,
580 `createdAt: ${p.createdAt}`,
581 `updatedAt: ${p.updatedAt}`,
582 ].join('\n');
583}
584
585function pad(s: string, width: number): string {
586 if (s.length >= width) return s;

Callers 2

runGetFunction · 0.85
runCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected