Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvKeyCliVerbose // Provides the debug flag. This value is true when the command is open debug mode EnvKeyCliVerbose = "CLI_VERBOSE" // NameCliVerbose // Provides the debug flag. This value is true when the command is open debug mode NameCliVerbose = "verbose" // EnvKeyCliTimeoutSecond // Provides the timeout second flag EnvKeyCliTimeoutSecond = "CLI_CONFIG_TIMEOUT_SECOND" // NameCliTimeoutSecond // Provides the timeout second flag NameCliTimeoutSecond = "config.timeout_second" // MinimumTimeoutSecond // minimum timeout second MinimumTimeoutSecond = 10 // EnvLogLevel // env ENV_WEB_LOG_LEVEL default "" EnvLogLevel string = "CLI_LOG_LEVEL" // NameLogLevel // Provides the log level flag NameLogLevel = "config.log_level" // NameCliRunPath // Provides the cwd path flag NameCliRunPath = "config.cli_run_root_path" )
View Source
const (
CopyrightStartYear = "2024"
)
Variables ¶
This section is empty.
Functions ¶
func PlatformFlags ¶
func PlatformFlags() []cli.Flag
PlatformFlags
@Description: PlatformFlags for all subcommand
Types ¶
type PlatformConfig ¶
func BindPlatformConfig ¶
func BindPlatformConfig(c *cli.Context) *PlatformConfig
BindPlatformConfig
@Description: BindPlatformConfig for all subcommand
Click to show internal directories.
Click to hide internal directories.