app

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func (*App) Add

func (a *App) Add(categoryName string, cmds ...Command)

func (*App) Run

func (a *App) Run(args ...string) error

func (App) Usage

func (a App) Usage()

type Command

type Command struct {
	Run   func(...string) error
	Name  string
	Usage string
}

Jump to

Keyboard shortcuts

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