MCPcopy
hub / github.com/juicycleff/ultimate-backend / writeOutputTitle

Method writeOutputTitle

packages/cli/src/utils/output.ts:83–97  ·  view source on GitHub ↗
({
    label,
    title,
  }: {
    label?: string;
    title: string;
  })

Source from the content-addressed store, hash-verified

81 }
82
83 private writeOutputTitle({
84 label,
85 title,
86 }: {
87 label?: string;
88 title: string;
89 }): void {
90 let outputTitle: string;
91 if (label) {
92 outputTitle = `${this.UB_PREFIX} ${label} ${title}\n`;
93 } else {
94 outputTitle = `${this.UB_PREFIX} ${title}\n`;
95 }
96 this.writeToStdOut(outputTitle);
97 }
98
99 private writeOptionalOutputBody(bodyLines?: string[]): void {
100 if (!bodyLines) {

Callers 6

errorMethod · 0.95
warnMethod · 0.95
noteMethod · 0.95
successMethod · 0.95
logSingleLineMethod · 0.95
logMethod · 0.95

Calls 1

writeToStdOutMethod · 0.95

Tested by

no test coverage detected