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" NameKeyCliVerbose = "verbose" // EnvKeyCliTimeoutSecond // Provides the timeout second flag EnvKeyCliTimeoutSecond = "CLI_CONFIG_TIMEOUT_SECOND" NamePluginTimeOut = "config.timeout_second" // EnvLogLevel // env ENV_WEB_LOG_LEVEL default "" EnvLogLevel string = "CLI_LOG_LEVEL" NameLogLevel string = "config.log_level" NameInit = "init" NameGenerate = "generate" NameCoverageExistFile = "coverage-exist-file" )
View Source
const ( LangEnUS = "en-US" LangZhCN = "zh-CN" )
Variables ¶
This section is empty.
Functions ¶
func PlatformFlags ¶
func PlatformFlags() []cli.Flag
PlatformFlags
@Description: PlatformFlags for all subcommand
func SupportLanguage ¶
func SupportLanguage() []string
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.