Documentation ¶
Index ¶
Constants ¶
View Source
const ( NameCliDryRun = "dry-run" // 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" // 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" // PathGithubAction // github action path PathGithubAction = ".github" // PathWorkflows // github action workflows path PathWorkflows = "workflows" )
View Source
const ( CliNameGitRootFolder = "gitRootFolder" CliNameGitRemote = "remote" )
View Source
const ( LangEnUS = "en-US" LangZhCN = "zh-CN" )
Variables ¶
This section is empty.
Functions ¶
func BadgeFlags ¶
func BadgeFlags() []cli.Flag
func SupportLanguage ¶ added in v1.8.0
func SupportLanguage() []string
Types ¶
type BadgeConfig ¶
type BadgeConfig struct { NoCommonBadges bool CodeCovBadges bool GolangBadges bool RustBadges bool RustCratesName string RustVersion string NodeBadges bool NpmPackage string DockerUser string DockerRepo string }
func BindBadgeConfig ¶
func BindBadgeConfig(c *cli.Context) *BadgeConfig
Click to show internal directories.
Click to hide internal directories.