Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCommandNotFound = errors.New("command not found")
)
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication(cfg config.App) (*Application, error)
func (*Application) Run ¶
func (a *Application) Run()
type CliApplication ¶
type CliApplication struct { Application // contains filtered or unexported fields }
func NewCliApplication ¶
func NewCliApplication(cfg config.App) (*CliApplication, error)
func (*CliApplication) ExecCommand ¶
func (a *CliApplication) ExecCommand(cmd string, args ...string) error
func (*CliApplication) PrintUsage ¶
func (a *CliApplication) PrintUsage()
func (*CliApplication) RegisterCommand ¶
func (a *CliApplication) RegisterCommand(cmd cli.Command) error
Click to show internal directories.
Click to hide internal directories.