command

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode added in v0.2.0

func ExitCode(err error) (int, bool)

func IsExitError added in v0.2.0

func IsExitError(err error) bool

func WithNamespace

func WithNamespace(fn NamespaceRunE) func(*cobra.Command, []string) error

Types

type NamespaceRunE

type NamespaceRunE func(ctx context.Context, ns *docker.Namespace, cmd *cobra.Command, args []string) error

type RootCommand

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

func NewRootCommand

func NewRootCommand() *RootCommand

func (*RootCommand) Execute

func (r *RootCommand) Execute() error

Jump to

Keyboard shortcuts

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