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 DryRun bool AutoApprove bool 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)
func (*CleanOptions) SetZeroValues ¶
func (opts *CleanOptions) SetZeroValues()
Click to show internal directories.
Click to hide internal directories.