mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
13 lines
330 B
TypeScript
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
|
|
}
|