internal

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: GPL-3.0 Imports: 39 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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