options

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 27, 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 {
	// Substring is the target string to search in a bucket
	Substring string
	// FileExtensions is a comma separated list of file extensions to search on S3 bucket (txt, json etc)
	FileExtensions string

	FileName string
	*options.RootOptions
}

SearchOptions contains frequent command line and application options.

func GetSearchOptions

func GetSearchOptions() *SearchOptions

GetFindOptions 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