cli

package
v0.0.0-...-2841c97 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 4 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 {
	Case   bool
	Dir    string
	Glob   string
	Help   bool
	Ignore string
	Regex  string
}

Options contain the command line options passed to the program.

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line options.

func (*Options) Valid

func (opt *Options) Valid() bool

Valid checks command line options are valid.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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