args

package
v0.0.0-...-ee607de Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromStringSlice

func FromStringSlice(s []string) []string

func Generate

func Generate(source []string) ch

func GetArgs

func GetArgs() []string

Types

type Arg

type Arg struct {
	Info  ArgInfo
	Value string
}

type ArgInfo

type ArgInfo struct {
	Name             string
	Description      string
	InShort          byte
	IsValueNeeded    bool
	IsSingleDashOnly bool
}

type Argv

type Argv []Arg

func Parse

func Parse() Argv

Jump to

Keyboard shortcuts

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