Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/posener/complete
/ functions
Functions
194 in github.com/posener/complete
⨍
Functions
194
◇
Types & classes
27
↓ 1 callers
Function
parseDuration
(s string)
compflag/compflag.go:100
↓ 1 callers
Function
parseInt
(s string)
compflag/compflag.go:92
↓ 1 callers
Function
parseString
(s string)
compflag/compflag.go:88
↓ 1 callers
Function
predictBool
(value bool, prefix string)
compflag/compflag.go:78
↓ 1 callers
Function
predictLocalAndSystem
(prefix string)
gocomplete/pkgs.go:33
↓ 1 callers
Method
suggestLeafCommandOptions
()
complete.go:166
↓ 1 callers
Method
suggestSubCommands
(prefix string)
complete.go:149
↓ 1 callers
Function
systemDirs
(dir string)
gocomplete/pkgs.go:74
Method
Arg
(i int)
compflag/compflag.go:56
Method
Args
()
compflag/compflag.go:57
Method
ArgsGet
()
flags.go:44
Method
ArgsGet
()
command.go:55
Function
BenchmarkFake
(b *testing.B)
gocomplete/tests_test.go:53
Function
Bool
Bool if a flag function for a flag of type bool.
compflag/flags.go:24
Function
BoolVar
BoolVar if a flag function for a flag of already exiting variable of type bool.
compflag/flags.go:29
Function
CommandLine
Complete default command line flag set defined by the standard library.
flags.go:8
Function
Duration
Duration if a flag function for a flag of type time.Duration.
compflag/flags.go:44
Function
DurationVar
DurationVar if a flag function for a flag of already exiting variable of type time.Duration.
compflag/flags.go:49
Function
Example
()
gocomplete/tests_test.go:55
Function
ExampleComplete_outputCapturing
ExampleComplete_outputCapturing demonstrates the ability to capture the output of Complete() invocations, crucial for integration tests.
complete_test.go:228
Method
Fixed
()
internal/tokener/tokener.go:53
Method
FlagGet
(name string)
flags.go:32
Method
FlagGet
(flag string)
command.go:45
Method
FlagList
()
flags.go:24
Method
FlagList
()
command.go:37
Method
Get
()
flags_test.go:43
Method
Get
()
compflag/flags.go:122
Method
Get
()
compflag/flags.go:161
Method
Get
()
compflag/flags.go:202
Method
Get
()
compflag/flags.go:241
Method
Install
(cmd, bin string)
install/fish.go:25
Method
Install
(cmd, bin string)
install/zsh.go:19
Method
Install
(cmd, bin string)
install/bash.go:18
Function
Int
Int if a flag function for a flag of type int.
compflag/flags.go:34
Function
IntVar
IntVar if a flag function for a flag of already exiting variable of type int.
compflag/flags.go:39
Method
IsBoolFlag
()
flags_test.go:47
Method
IsBoolFlag
()
compflag/flags.go:172
Function
IsInstalled
IsInstalled returns true if the completion for the given cmd is installed.
install/install.go:75
Method
NArg
()
compflag/compflag.go:58
Method
NFlag
()
compflag/compflag.go:59
Method
NewInternalTypeFuncName
()
compflag/gen/main.go:20
Method
Parsed
()
compflag/compflag.go:63
Method
Predict
(_ string)
complete_test.go:246
Method
Predict
(prefix string)
complete.go:44
Method
Predict
(_ string)
flags_test.go:49
Method
Predict
(prefix string)
compflag/flags.go:133
Method
Predict
(prefix string)
compflag/flags.go:174
Method
Predict
(prefix string)
compflag/flags.go:213
Method
Predict
(prefix string)
compflag/flags.go:252
Method
Predict
Predict searches for files according to the given prefix. If the only predicted path is a single directory, the search will continue another recursive
predict/files.go:30
Method
Predict
(prefix string)
predict/files.go:106
Method
Predict
(prefix string)
predict/options.go:59
Method
Predict
(_ string)
predict/predict.go:9
Method
PrintDefaults
()
compflag/compflag.go:61
Method
Set
(s string)
flags_test.go:34
Method
Set
(val string)
compflag/flags.go:113
Method
Set
(val string)
compflag/flags.go:152
Method
Set
(val string)
compflag/flags.go:193
Method
Set
(val string)
compflag/flags.go:232
Method
String
()
compflag/flags.go:126
Method
String
()
compflag/flags.go:165
Method
String
()
compflag/flags.go:206
Method
String
()
compflag/flags.go:245
Function
StringVar
StringVar if a flag function for a flag of already exiting variable of type string.
compflag/flags.go:19
Method
SubCmdGet
(cmd string)
flags.go:22
Method
SubCmdGet
(cmd string)
command.go:31
Method
SubCmdList
()
flags.go:20
Method
SubCmdList
()
command.go:23
Function
TestArgsParsed
(t *testing.T)
internal/arg/arg_test.go:96
Function
TestBool
(t *testing.T)
compflag/compflag_test.go:13
Function
TestComplete
(t *testing.T)
complete_test.go:160
Function
TestCompleter
(t *testing.T)
complete_test.go:42
Function
TestCompleter_error
(t *testing.T)
complete_test.go:140
Function
TestConfigCheck
(t *testing.T)
predict/options_test.go:7
Function
TestConfigPredict
(t *testing.T)
predict/options_test.go:27
Function
TestDuration
(t *testing.T)
compflag/compflag_test.go:109
Function
TestErrorSupression
(t *testing.T)
gocomplete/tests_test.go:78
Function
TestFiles
(t *testing.T)
predict/files_test.go:11
Function
TestFlags
(t *testing.T)
flags_test.go:10
Function
TestHasPrefix
(t *testing.T)
complete_test.go:250
Function
TestInt
(t *testing.T)
compflag/compflag_test.go:66
Function
TestMatchFile
(t *testing.T)
predict/files_test.go:136
Function
TestParse
(t *testing.T)
internal/arg/arg_test.go:9
Function
TestPredict
(t *testing.T)
predict/predict_test.go:10
Function
TestPredictions
(t *testing.T)
gocomplete/tests_test.go:18
Function
TestString
(t *testing.T)
compflag/compflag_test.go:30
Method
Uninstall
(cmd, bin string)
install/fish.go:39
Method
Uninstall
(cmd, bin string)
install/zsh.go:33
Method
Uninstall
(cmd, bin string)
install/bash.go:26
Function
main
()
example/compflag/main.go:21
Function
main
()
example/command/main.go:21
Function
main
()
example/stdlib/main.go:20
Function
main
()
compflag/gen/main.go:35
Function
predictPackages
predictPackages completes packages in the directory pointed by a.Last and packages that are one level below that package.
gocomplete/pkgs.go:17
← previous
101–194 of 194, ranked by callers