globals

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RootFlags stores the global flags to be used in newRootCommand.
	// These flags might be filled by configfx.Source[T] implementations.
	RootFlags = pflag.NewFlagSet("root", pflag.ContinueOnError)

	// RootPreRuns will be added to root commands PreRun.
	// Use this to inject any code precommand start.
	RootPreRuns []func(cmd *cobra.Command, args []string)

	// RootFlagConfigPathDefault is the default value for config-path.
	// It is defined here to be modified during tests to fake arguments being passed.
	RootFlagConfigPathDefault = ""
)

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