globalflags

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGlobalFlags

func AddGlobalFlags(cmd *cobra.Command, opts *GlobalOptions)

AddGlobalFlags adds the Global Flags to the root command

func GetFlags

GetFlags adds the kubeFlags we care about and adds the flags from the provided command

Types

type GlobalOptions

type GlobalOptions struct {
	Output           string
	SkipVersionCheck bool
}

GlobalOptions defines all available commands

Jump to

Keyboard shortcuts

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