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.
Click to show internal directories.
Click to hide internal directories.