cli

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WithEnvCommandName = "with-env"
	CliCommandName     = "cli"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func New

func New(appType config.AppType) *Application

func (*Application) Run

func (a *Application) Run()

func (*Application) RunWithWriter added in v0.17.0

func (a *Application) RunWithWriter(args []string, w io.Writer) error

RunWithWriter runs CLI commands with the given args, writing output to w. Suitable for use in tests. Unlike Run(), it does not read os.Args or call os.Exit.

Jump to

Keyboard shortcuts

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