root

package
v2.41.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 119 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToCobraCommands added in v2.30.0

func ConvertToCobraCommands(f *cmdutil.Factory, cmd *cobra.Command, extensions []extensions.Extension) error

Types

type CmdRoot

type CmdRoot struct {
	*cobra.Command

	Verbose            bool
	Debug              bool
	ProgressBar        bool
	NoColor            bool
	SessionFile        string
	SessionUsername    string
	SessionPassword    string
	NoLog              bool
	ActivityLogMessage string

	Factory *cmdutil.Factory
	// contains filtered or unexported fields
}

func NewCmdRoot

func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *CmdRoot

func (*CmdRoot) Configure

func (c *CmdRoot) Configure(disableEncryptionCheck, forceVerbose, forceDebug bool) error

Jump to

Keyboard shortcuts

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