cli

package
v0.30.9 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func InspectCmd added in v0.25.0

func InspectCmd() *cobra.Command

InspectCmd will inspect a bundle for all its roots

func RootCmd

func RootCmd() *cobra.Command

RootCmd represents the base command when called without any subcommands

func RunCmd

func RunCmd() *cobra.Command

RunCmd will collect and analyze a troubleshoot spec

Types

type InspectOptions added in v0.25.0

type InspectOptions struct {
	Output string
	Quiet  bool
}

type RunOptions added in v0.25.0

type RunOptions struct {
	Output string
	Quiet  bool
}

Jump to

Keyboard shortcuts

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