opt

package
v0.0.0-...-028f293 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Help

type Help struct {
	Args []string
	// contains filtered or unexported fields
}

func NewHelp

func NewHelp() *Help

func (*Help) Action

func (h *Help) Action(names []string, fn func() error)

func (*Help) CheckArgs

func (h *Help) CheckArgs()

func (*Help) CheckInvalid

func (h *Help) CheckInvalid()

func (*Help) Registered

func (h *Help) Registered() []string

func (*Help) Show

func (h *Help) Show()

Jump to

Keyboard shortcuts

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