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

Function renderExamples

cli/src/framework/help.ts:68–70  ·  view source on GitHub ↗
(ctor: CommandConstructor)

Source from the content-addressed store, hash-verified

66}
67
68function renderExamples(ctor: CommandConstructor): string[] {
69 return (ctor.examples ?? []).map(ex => ex.replace('<%= config.bin %>', BIN))
70}
71
72function agentGuideOf(ctor: CommandConstructor): string {
73 const C = ctor

Callers 2

describeCommandFunction · 0.85
formatHelpTextFunction · 0.85

Calls 2

mapMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected