Files
dify/cli/bin/run.ts
2026-05-19 14:51:28 +08:00

11 lines
446 B
JavaScript
Executable File

#!/usr/bin/env node
// Production entry compiled by `bun build --compile` (see scripts/release-build.sh).
// Imports from src/ so the release pipeline doesn't need `pnpm build` (dist/).
import { commandTree } from '../src/commands/tree.js'
import { run } from '../src/framework/run.js'
// Wrapped instead of top-level await — `bun build --bytecode` doesn't support TLA.
void (async () => {
await run(commandTree, process.argv.slice(2))
})()