Versions in this module Expand all Collapse all v8 v8.17.0 Nov 18, 2025 Changes in this version + var ErrFailed = errors.New("command failed") + var ParseErr = errors.New("incorrect type for arg") + type CommandParser struct + Config *configv3.Config + UI *ui.UI + func NewCommandParser(config *configv3.Config) (CommandParser, error) + func (p *CommandParser) ParseCommandFromArgs(ui *ui.UI, args []string) (int, error) + type DisplayUsage interface + DisplayUsage func() + type TriggerLegacyMain interface + LegacyMain func() + type UI interface + DisplayError func(err error) + DisplayText func(template string, templateValues ...map[string]interface{}) + DisplayWarning func(template string, templateValues ...map[string]interface{}) + FlushDeferred func() + type UnknownCommandError struct + CommandName string + func (e *UnknownCommandError) Suggest(pluginCommandNames []string) + func (e UnknownCommandError) Error() string Other modules containing this package code.cloudfoundry.org/cli