options

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchOptions

type SearchOptions struct {
	// Text is the target string to search in a bucket
	Text string
	// FileName is the regex or exact name of the target file to search for specific Text
	FileName string

	*options.RootOptions
}

SearchOptions contains frequent command line and application options.

func GetSearchOptions

func GetSearchOptions() *SearchOptions

GetSearchOptions returns the pointer of FindOptions

func (*SearchOptions) InitFlags

func (opts *SearchOptions) InitFlags(cmd *cobra.Command)

func (*SearchOptions) SetZeroValues

func (opts *SearchOptions) SetZeroValues()

Jump to

Keyboard shortcuts

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