root

package
v0.0.0-...-de23339 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const PREFIX_FLAG = "--"

Variables

This section is empty.

Functions

func Execute

func Execute()

func HasFailed

func HasFailed() bool

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(rootCmd *RootCmd, f *cmdutil.Factory) *cobra.Command

Types

type OSInfo

type OSInfo struct {
	OS struct {
		Vendor string `json:"vendor"`
	} `json:"os"`
}

type PreCmd

type PreCmd struct {
	// contains filtered or unexported fields
}

type RootCmd

type RootCmd struct {
	F *cmdutil.Factory
}

func NewRootCmd

func NewRootCmd(f *cmdutil.Factory) *RootCmd

Jump to

Keyboard shortcuts

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