option

package
v0.0.0-...-ad53569 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir     string `json:"dir"`
	Ignore  string `json:"ignore"`
	Glob    string `json:"glob"`
	Pattern string `json:"pattern"`
	Case    bool   `json:"case"`
	Help    bool   `json:"help"`
}

Options contain the options passed to the program.

func (*Options) Valid

func (opt *Options) Valid() error

Valid checks command line options are valid.

Jump to

Keyboard shortcuts

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