command

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 0 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	Argument(index int) string
	Arguments() []string
	Option(key string) string
}

type Extend

type Extend struct {
	Category string
	Flags    []Flag
}

type Flag

type Flag struct {
	Name     string
	Aliases  []string
	Usage    string
	Required bool
	Value    string
}

Jump to

Keyboard shortcuts

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