cmd

package
v0.11.43 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 28 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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