mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 00:18:51 +00:00
12 lines
466 B
Go
12 lines
466 B
Go
|
package cliContext
|
||
|
|
||
|
import "embed"
|
||
|
|
||
|
type Context struct {
|
||
|
Debug bool `env:"LOCALAI_DEBUG,DEBUG" default:"false" hidden:"" help:"DEPRECATED, use --log-level=debug instead. Enable debug logging"`
|
||
|
LogLevel *string `env:"LOCALAI_LOG_LEVEL" enum:"error,warn,info,debug,trace" help:"Set the level of logs to output [${enum}]"`
|
||
|
|
||
|
// This field is not a command line argument/flag, the struct tag excludes it from the parsed CLI
|
||
|
BackendAssets embed.FS `kong:"-"`
|
||
|
}
|