globalflags

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 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
}

Defines a set of Global Options available to all commands

Jump to

Keyboard shortcuts

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