提高帮助文本的可读性
GLOBAL OPTIONS: --listen value, --address value address on which the router will be listening on, ie: "localhost:11434" (default: "localhost:11434") [$GOLLAMAS_LISTEN, $LISTEN] --level value, --error-level value error level, can be any of panic|fatal|error|warning|info|debug|trace (default: "error") [$GOLLAMAS_LEVEL, $LEVEL] --proxy value [ --proxy value ] assigns a destination for a model, can be a url or a connection id ex: --proxy 'llama3.2-vision=http://server:11434'] ex: --proxy 'llama3.2-vision=c1 --connection c1=http://server:11434' --proxies value assigns destinations for the models, in the list of model=destination pairs ex: --proxies 'llama3.2-vision=http://server:11434,DeepSeek-r1:14b=http://server2:11434' [$GOLLAMAS_PROXIES, $PROXIES] --connection value [ --connection value ] assigns an identifier to a connection which can be reffered to by proxy declarations ex: --connection c1=http://server:11434 --proxy LLaMA=c1 GLOBAL OPTIONS: --listen value, --address value address on which the router will be listening on, ie: "localhost:11434" (default: "localhost:11434") [$GOLLAMAS_LISTEN, $LISTEN] --level value, --error-level value error level, can be any of panic|fatal|error|warning|info|debug|trace (default: "error") [$GOLLAMAS_LEVEL, $LEVEL] --proxy value [ --proxy value ] assigns a destination for a model, can be a url or a connection id ex: --proxy 'llama3.2-vision=http://server:11434'] ex: --proxy 'llama3.2-vision=c1 --connection c1=http://server:11434' --proxies value assigns destinations for the models, in the list of model=destination pairs ex: --proxies 'llama3.2-vision=http://server:11434,DeepSeek-r1:14b=http://server2:11434' [$GOLLAMAS_PROXIES, $PROXIES] --connection value [ --connection value ] assigns an identifier to a connection which can be reffered to by proxy declarations ex: --connection c1=http://server:11434 --proxy LLaMA=c1 --connections value provides a list of connections which can be reffered to by id ex: --connections c1=http://server:11434,c2=http://server2:11434 [$GOLLAMAS_CONNECTIONS, $CONNECTIONS]
内容来源: urfave/cli