constant

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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 StrInArr added in v1.8.0

func StrInArr(target string, strArray []string) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL