cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Run   func(*Command) error
	Name  string
	Brief string
	Usage string

	Args  []string
	Flags *flag.FlagSet
}

func (*Command) Init

func (c *Command) Init()

func (*Command) Parse

func (c *Command) Parse() (help bool, err error)

Jump to

Keyboard shortcuts

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