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

Function printUsage

packages/dev-proxy/src/cli.ts:9–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import { createDevProxyApp } from './server'
8
9function printUsage() {
10 console.log(`Usage:
11 dev-proxy --config <path> [options]
12
13Options:
14 --config, -c <path> Path to a dev proxy config file. Defaults to dev-proxy.config.ts.
15 --env-file <path> Load environment variables before evaluating the config file.
16 --host <host> Override the configured host.
17 --port <port> Override the configured port.
18 --watch Reload config and env file changes. Enabled by default.
19 --no-watch Disable config and env file reloads.
20 --help, -h Show this help message.`)
21}
22
23async function flushStandardStreams() {
24 await Promise.all([

Callers 1

mainFunction · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected