command

package
v1.0.79 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 0 Imported by: 2

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