Documentation ¶
Index ¶
- func Arch(s ...string) func(c carapace.Context) bool
- func CompletingPath(c carapace.Context) bool
- func CompletingPathS(c carapace.Context) bool
- func Executable(s ...string) func(c carapace.Context) bool
- func File(s string) func(c carapace.Context) bool
- func Os(s ...string) func(c carapace.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompletingPath ¶
CompletingPath returns true when `Context.Value` has a path prefix.
func CompletingPathS ¶
CompletingPathS is like CompletingPathS but also checks for path separator `/`
func Executable ¶
Excutable returns true if any of the given strings matches an executable in PATH.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.