cli

package
v0.0.0-...-6d1f56b Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	flag.FlagSet
}

func (*CLI) Add

func (c *CLI) Add(name string, defval string, usage string)

func (*CLI) Execute

func (c *CLI) Execute() error

type Command

type Command struct {
	Value        any
	Name         string
	DefaultValue any
	Usage        string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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