flags

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 Flags

type Flags struct {
	Values map[string]string
}

A utility to help working with flags. Makes it easier to create, merge, and format them.

func FromValues added in v0.3.5

func FromValues(values map[string]string) Flags

func (*Flags) Merge

func (f *Flags) Merge(overrides Flags) Flags

func (*Flags) ToArgs

func (f *Flags) ToArgs() []string

Jump to

Keyboard shortcuts

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