args

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteUsage

func WriteUsage(stream io.Writer)

Types

type ArgSet

type ArgSet struct {
	Include IncludeDirs
	Reload  bool
	Notify  bool
	Cmd     string
	Input   string
	Output  string
	Version bool
	Help    bool
}

func ParseArgs

func ParseArgs() (ArgSet, error)

type IncludeDirs

type IncludeDirs []string

func (*IncludeDirs) Set

func (dirs *IncludeDirs) Set(value string) error

func (*IncludeDirs) String

func (dirs *IncludeDirs) String() string

Jump to

Keyboard shortcuts

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