flags

package
v0.7.8-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = &cli.StringFlag{
		Name:        "cfg",
		Category:    globalCategory,
		DefaultText: "specify the path to the configuration file",
		FilePath:    "",
		Usage:       "Specify the absolute or relative path to the configuration file for setting up the application.",
		Required:    true,
		Hidden:      false,
		HasBeenSet:  true,
		Value:       defaultConfigFilePath,
		Aliases:     []string{"config"},
		EnvVars:     []string{"EASYP_CFG"},
		TakesFile:   true,
	}

	DebugMode = &cli.BoolFlag{
		Name:     "debug",
		Usage:    "Enable debug mode to get more detailed information in logs.",
		Required: false,
		Value:    false,
		Aliases:  []string{"d"},
		EnvVars:  []string{"EASYP_DEBUG"},
	}
)

Flags.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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