Documentation
¶
Overview ¶
Package cmd provides command-line interface functionality for the application.
Index ¶
Constants ¶
View Source
const ( Debug_ = "debug" Delete_ = "delete" DelPlus_ = "delete+" Exact_ = "exact" Fast_ = "fast" Help_ = "help" Mono_ = "mono" Name_ = "name" Quiet_ = "quiet" Sensen_ = "sensen" Yes_ = "yes" Version_ = "version" )
Variables ¶
Functions ¶
func FuzzSearchSummary ¶ added in v1.2.0
FuzzSearchSummary fuzz tests the search summary formatting.
func FuzzWindowsChk ¶ added in v1.2.0
FuzzWindowsChk fuzz tests the Windows directory path validation.
func Home ¶
func Home() string
Home returns the user home directory. If that fails it returns the current working directory.
func SearchSummary ¶
SearchSummary formats the results of the search command.
func WindowsChk ¶
WindowsChk checks the named directory for invalid, escaped nuoted paths when using Windows cmd.exe.
Types ¶
type Aliases ¶
type Aliases struct {
Debug *bool `usage:"alias for debug"`
Exact *bool `usage:"alias for exact"`
Filename *bool `usage:"alias for filename"`
Help *bool `usage:"alias for help"`
Lookup *bool `usage:"alias for lookup"`
Mono *bool `usage:"alias for mono"`
Quiet *bool `usage:"alias for quiet"`
Yes *bool `usage:"alias for quiet"`
Version *bool `usage:"alias for version"`
}
Aliases are single letter options for commands.
type Flags ¶
type Flags struct {
Exact *bool `usage:"match case"`
Filename *bool `usage:"search for filenames, and ignore directories"`
Lookup *bool `` //nolint:lll
/* 134-byte string literal not displayed */
Rm *bool `usage:"delete the duplicate files found in the\n\t <directory to check>"`
RmPlus *bool `usage:"delete the duplicate files and remove empty directories\n\t from the <directory to check>"`
Sensen *bool `` //nolint:lll
/* 130-byte string literal not displayed */
Debug *bool `usage:"debug enables verbose output showing all program activities"`
Help *bool `usage:"print help"`
Mono *bool `usage:"monochrome mode to remove all color output"`
Quiet *bool `usage:"quiet mode suppresses non-essential output and progress indicators"`
Yes *bool `usage:"assume yes for any user prompts"`
Version *bool `usage:"version and information for this program"`
}
Flags provide options for both the commands and the program.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package task provides task execution and coordination functionality.
|
Package task provides task execution and coordination functionality. |
|
bucket
Package bucket provides bucket-related command functionality.
|
Package bucket provides bucket-related command functionality. |
|
duplicate
Package duplicate provides duplicate file detection functionality.
|
Package duplicate provides duplicate file detection functionality. |
|
search
Package search provides file search functionality.
|
Package search provides file search functionality. |
Click to show internal directories.
Click to hide internal directories.