dify/cli/src/commands/help/environment/environment.ts
Yunlu Wen c0ee821d45
refactor: use absolute path for inter dir importing (#36822)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-01 01:32:16 +00:00

13 lines
330 B
TypeScript

import { ENV_REGISTRY } from '@/env/registry'
export function runHelpEnvironment(): string {
let out = 'ENVIRONMENT VARIABLES\n\n'
for (const v of ENV_REGISTRY) {
out += ` ${v.name}\n ${v.description}\n`
if (v.sensitive)
out += ' (treat as secret; never echoed)\n'
out += '\n'
}
return out
}