Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessArgs ¶
ProcessArgs processes and handles CLI arguments
Types ¶
type Args ¶
type Args struct { ConfigPath string }
Args expose available global args for cli command
type GlobalConfig ¶
type GlobalConfig struct { LogLevel string `yaml:"LogLevel" env:"LOG_LEVEL" env-default:"info" env-description:"Defines logger's log level'"` LogFormat string `` /* 149-byte string literal not displayed */ LogLevelFormat string `` /* 189-byte string literal not displayed */ LogFilePath string `` /* 126-byte string literal not displayed */ LogFileSize int `yaml:"LogFileSize" env:"LOG_FILE_SIZE" env-default:"500" env-description:"Defines a file size in megabytes to rotate logs"` LogFileBackups int `` /* 133-byte string literal not displayed */ }
GlobalConfig expose available global config for cli command
Click to show internal directories.
Click to hide internal directories.