Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/posener/complete
/ types & classes
Types & classes
27 in github.com/posener/complete
⨍
Functions
194
◇
Types & classes
27
↓ 3 callers
FuncType
PredictFunc
PredictFunc is a function that implements the Predictor interface.
complete.go:42
↓ 2 callers
TypeAlias
FilesSet
FilesSet predict according to file rules to a given fixed set of file names.
predict/files.go:104
↓ 2 callers
TypeAlias
Set
Set predicts a set of predefined values.
predict/predict.go:7
↓ 1 callers
TypeAlias
boolValue
flags_test.go:32
Struct
Arg
Arg is typed a command line argument.
internal/arg/arg.go:10
Struct
Command
Command is an object that can be used to create complete options for a go executable that does not have a good binding to the `Completer` interface, o
command.go:6
Interface
Completer
Completer is an interface that a command line should implement in order to get bash completion.
complete.go:16
Struct
Config
Config stores prediction options.
predict/options.go:45
Struct
FilesPredictor
predict/files.go:22
TypeAlias
FlagSet
FlagSet is bash completion enabled flag.FlagSet.
compflag/compflag.go:47
FuncType
Option
Option provides prediction through options pattern. Usage: func(o ...predict.Option) { cfg := predict.Options(o) // use cfg.Predict... }
predict/options.go:17
Struct
Parsed
Parsed contains information about the argument.
internal/arg/arg.go:17
Interface
Predictor
Predictor can predict completion options.
complete.go:33
Struct
Tokener
internal/tokener/tokener.go:3
Struct
bash
(un)install in bash basically adds/remove from .bashrc: complete -C </path/to/completion/command> <command>
install/bash.go:9
Struct
boolValue
============================================================================================== //
compflag/flags.go:142
Struct
completer
complete.go:105
Struct
durationValue
============================================================================================== //
compflag/flags.go:222
Struct
fish
(un)install in fish
install/fish.go:13
Struct
flag
go:generate go run .
compflag/gen/main.go:13
TypeAlias
flagSet
flags.go:18
Interface
installer
install/install.go:45
Struct
intValue
============================================================================================== //
compflag/flags.go:183
Struct
matcherTest
predict/files_test.go:145
TypeAlias
set
complete_test.go:244
Struct
stringValue
============================================================================================== //
compflag/flags.go:103
Struct
zsh
(un)install in zsh basically adds/remove from .zshrc: autoload -U +X bashcompinit && bashcompinit" complete -C </path/to/completion/command> <command
install/zsh.go:10