Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.11.31 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version  = "0.0.0"
	Revision = "aaaa1234"
)
View Source
var DefaultCIOutput = map[genci.CITarget]string{
	genci.GitHubCITarget: ".github/workflows",
}
View Source
var (
	ErrIncompleteConfig = errors.New("config key is missing")
)
View Source
var ErrIncorrectContextName = errors.New("supplied argument does not match any container context")
View Source
var ErrIncorrectPipelineTaskArg = errors.New("supplied argument does not match any pipelines or tasks")
View Source
var ErrNotV2Context = errors.New("not a native container context")
View Source
var (
	ErrSpecifiedObjectIsNotFound = errors.New("unknown")
)

Functions

func WithSubCommands added in v0.3.7

func WithSubCommands() []func(rootCmd *EirCtlCmd)

WithSubCommands returns a manually maintained list of commands

Types

type EirCtlCmd

type EirCtlCmd struct {
	Cmd        *cobra.Command
	ChannelOut io.Writer
	ChannelErr io.Writer
	OsFsOps    osFSOpsIface
	// contains filtered or unexported fields
}

func NewEirCtlCmd

func NewEirCtlCmd(ctx context.Context, channelOut, channelErr io.Writer) *EirCtlCmd

func (*EirCtlCmd) Execute

func (tc *EirCtlCmd) Execute() error

func (*EirCtlCmd) InitCommand

func (tc *EirCtlCmd) InitCommand(iocFuncs ...func(rootCmd *EirCtlCmd)) error

InitCommand ensures each subcommand is added to the root using an IoC injection pattern

Jump to

Keyboard shortcuts

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