flagargs

package
v0.0.0-...-c922539 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseArgs

func ParseArgs(argsFile, acornFile string, args []string) (map[string]any, []string, []string, error)

Types

type Flags

type Flags struct {
	FlagSet *pflag.FlagSet

	Usage func()
	// contains filtered or unexported fields
}

func New

func New(argsFile, filename string, profiles value.Names, args []value.ObjectSchemaField) *Flags

func (*Flags) Parse

func (f *Flags) Parse(args []string) (map[string]any, []string, error)

Jump to

Keyboard shortcuts

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