Documentation ¶
Index ¶
- Variables
- func HasFailed() bool
- func NewCmdAlias(io *iostreams.IOStreams, aliasName, aliasValue string) *cobra.Command
- func NewCmdExtension(io *iostreams.IOStreams, em extensions.ExtensionManager, ...) *cobra.Command
- func NewCmdHelpTopic(ios *iostreams.IOStreams, ht helpTopic) *cobra.Command
- func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) (*cobra.Command, error)
- func NewCmdShellAlias(io *iostreams.IOStreams, aliasName, aliasValue string) *cobra.Command
- type AuthError
- type CommandGroup
- type ExternalCommandExitError
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 }, { // 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 ¶ added in v2.30.0
func NewCmdExtension ¶ added in v2.30.0
func NewCmdExtension(io *iostreams.IOStreams, em extensions.ExtensionManager, ext extensions.Extension) *cobra.Command
func NewCmdHelpTopic ¶ added in v2.30.0
func NewCmdRoot ¶
Types ¶
type AuthError ¶ added in v2.30.0
type AuthError struct {
// contains filtered or unexported fields
}
type CommandGroup ¶ added in v2.21.0
func GroupedCommands ¶ added in v2.21.0
func GroupedCommands(cmd *cobra.Command) []CommandGroup
type ExternalCommandExitError ¶ added in v2.31.0
Click to show internal directories.
Click to hide internal directories.