MCPcopy
hub / github.com/QuantumNous/new-api / printHelp

Function printHelp

common/init.go:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22)
23
24func printHelp() {
25 fmt.Println("NewAPI(Based OneAPI) " + Version + " - The next-generation LLM gateway and AI asset management system supports multiple languages.")
26 fmt.Println("Original Project: OneAPI by JustSong - https://github.com/songquanpeng/one-api")
27 fmt.Println("Maintainer: QuantumNous - https://github.com/QuantumNous/new-api")
28 fmt.Println("Usage: newapi [--port <port>] [--log-dir <log directory>] [--version] [--help]")
29}
30
31func InitEnv() {
32 flag.Parse()

Callers 1

InitEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected