cmd

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCmd = &cobra.Command{
		Use:   "kube-aws",
		Short: "Manage Kubernetes clusters on AWS",
		Long:  ``,
		PersistentPreRun: func(cmd *cobra.Command, args []string) {
			colorEnabled, err := cmd.Flags().GetBool("color")
			if err != nil {
				panic(err)
			}
			ansi.DisableColors(!colorEnabled)
		},
	}
)

Functions

This section is empty.

Types

type ExitError added in v0.12.0

type ExitError struct {
	Code int
	// contains filtered or unexported fields
}

func (*ExitError) Error added in v0.12.0

func (e *ExitError) Error() string

Jump to

Keyboard shortcuts

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