args

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolArg

func BoolArg(arg string, defaultValue bool) bool

func StringArg

func StringArg(arg string, defaultValue string) string

Types

type Args

type Args struct {
	Help                 bool
	Verbose              bool
	VerboseSigfetchParse bool //-vsp llcppsigfetch parse.go
	VerboseParseIsMethod bool //-vpim
	UseStdin             bool
	CfgFile              string
}

func ParseArgs

func ParseArgs(args []string, defaultCfgFile string, swflags map[string]bool) (*Args, []string)

Jump to

Keyboard shortcuts

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