options

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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 CleanOptions

type CleanOptions struct {
	MinFileSizeInMb int64
	MaxFileSizeInMb int64
	FileExtensions  string
	FileNamePrefix  string
	KeepLastNFiles  int
	SortBy          string
	*options.RootOptions
}

CleanOptions contains frequent command line and application options.

func GetCleanOptions

func GetCleanOptions() *CleanOptions

GetCleanOptions returns the pointer of CleanOptions

func (*CleanOptions) InitFlags

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

Jump to

Keyboard shortcuts

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