Documentation
¶
Index ¶
Constants ¶
View Source
const ( FilepathCode = 99 DirectoryCode = 98 CustomFilepathCode = 97 )
Completion script sees these codes and uses compgen to complete the right thing.
Variables ¶
This section is empty.
Functions ¶
func CustomFilepath ¶
func CustomFilepath(ctx *ProviderCtx, files []string) []string
func Directory ¶
func Directory(ctx *ProviderCtx) []string
func Filepath ¶
func Filepath(ctx *ProviderCtx) []string
Types ¶
type Provider ¶
type Provider func(ctx *ProviderCtx) []string
type ProviderCtx ¶
func (*ProviderCtx) CommandBeginsWith ¶
func (ctx *ProviderCtx) CommandBeginsWith(cmd ...string) bool
func (*ProviderCtx) CommandIs ¶
func (ctx *ProviderCtx) CommandIs(cmd ...string) bool
Click to show internal directories.
Click to hide internal directories.