Documentation ¶
Index ¶
Constants ¶
View Source
const HelpCommandName = "help"
Variables ¶
View Source
var ( ErrNoCommandSpecified = errors.New("No command specified") ErrInvalidCommand = errors.New("Invalid command") )
Functions ¶
Types ¶
type Cmd ¶
type Cmd struct { Options lib.Options Config *lib.Config // contains filtered or unexported fields }
Cmd is a container for handling commands
type SearchType ¶
type SearchType int
SearchType is the type of search
const ( // SearchTypeWildcard is a wildcard SearchTypeWildcard SearchType = iota // SearchTypeStartingWildcard is a wildcard at the start (e.g. `*foo`) SearchTypeStartingWildcard // SearchTypeEndingWildcard is a wildcard at the end (e.g. `foo*`) SearchTypeEndingWildcard // SearchTypeBoth is a wildcard on both the start and the end (e.g. `*foo*`) SearchTypeBoth )
Click to show internal directories.
Click to hide internal directories.