constant

package
v0.0.0-...-d50ae0a Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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"
)

Variables

This section is empty.

Functions

func PlatformFlags

func PlatformFlags() []cli.Flag

PlatformFlags

@Description: PlatformFlags for all subcommand

Types

type PlatformConfig

type PlatformConfig struct {
	Windows bool
	Linux   bool
	MacOS   bool
}

func BindPlatformConfig

func BindPlatformConfig(c *cli.Context) *PlatformConfig

BindPlatformConfig

@Description: BindPlatformConfig for all subcommand

Jump to

Keyboard shortcuts

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