root

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelpTopics = []helpTopic{
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
}

Functions

func HasFailed

func HasFailed() bool

HasFailed signals that the main process should exit with non-zero status

func NewCmdAlias

func NewCmdAlias(ctx util.CmdContext, aliasName, aliasValue string) (cmd *cobra.Command, err error)

func NewCmdHelpTopic

func NewCmdHelpTopic(ios *iostreams.IOStreams, ht helpTopic) *cobra.Command

func NewCmdRoot

func NewCmdRoot(ctx util.CmdContext, version, buildDate string) (*cobra.Command, error)

func NewCmdShellAlias

func NewCmdShellAlias(ctx util.CmdContext, aliasName, aliasValue string) (cmd *cobra.Command, err error)

Types

type AuthError

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

func (*AuthError) Error

func (ae *AuthError) Error() string

type CommandGroup

type CommandGroup struct {
	Title    string
	Commands []*cobra.Command
}

func GroupedCommands

func GroupedCommands(cmd *cobra.Command) []CommandGroup

Jump to

Keyboard shortcuts

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