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

Function makeTree

cli/src/framework/run.test.ts:93–95  ·  view source on GitHub ↗
(cmd: CommandConstructor)

Source from the content-addressed store, hash-verified

91}
92
93function makeTree(cmd: CommandConstructor): CommandTree {
94 return { cmd: { command: cmd, subcommands: {} } }
95}
96
97describe('run() catch routing', () => {
98 it('routes BaseError to human format with semantic exit code', async () => {

Callers 1

run.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected