MCPcopy Create free account
hub / github.com/langgenius/dify / stringifyOutput

Function stringifyOutput

cli/src/framework/output.ts:75–84  ·  view source on GitHub ↗
(output: CommandOutput)

Source from the content-addressed store, hash-verified

73}
74
75export function stringifyOutput(output: CommandOutput): string {
76 switch (output.kind) {
77 case 'raw':
78 return output.data
79 case 'table':
80 return stringifyTableOutput(output)
81 case 'formatted':
82 return stringifyFormattedOutput(output)
83 }
84}
85
86function stringifyFormattedOutput(output: FormattedOutput<FormattedPrintable>): string {
87 switch (output.format) {

Callers 8

output.test.tsFile · 0.90
runFunction · 0.90
renderFunction · 0.90
renderFunction · 0.90
list.test.tsFile · 0.90
runMethod · 0.90
renderFunction · 0.90
executeMethod · 0.90

Calls 2

stringifyTableOutputFunction · 0.85
stringifyFormattedOutputFunction · 0.85

Tested by 3

renderFunction · 0.72
renderFunction · 0.72
renderFunction · 0.72