MCPcopy Create free account

hub / github.com/posener/complete / functions

Functions194 in github.com/posener/complete

↓ 1 callersFunctionparseDuration
(s string)
compflag/compflag.go:100
↓ 1 callersFunctionparseInt
(s string)
compflag/compflag.go:92
↓ 1 callersFunctionparseString
(s string)
compflag/compflag.go:88
↓ 1 callersFunctionpredictBool
(value bool, prefix string)
compflag/compflag.go:78
↓ 1 callersFunctionpredictLocalAndSystem
(prefix string)
gocomplete/pkgs.go:33
↓ 1 callersMethodsuggestLeafCommandOptions
()
complete.go:166
↓ 1 callersMethodsuggestSubCommands
(prefix string)
complete.go:149
↓ 1 callersFunctionsystemDirs
(dir string)
gocomplete/pkgs.go:74
MethodArg
(i int)
compflag/compflag.go:56
MethodArgs
()
compflag/compflag.go:57
MethodArgsGet
()
flags.go:44
MethodArgsGet
()
command.go:55
FunctionBenchmarkFake
(b *testing.B)
gocomplete/tests_test.go:53
FunctionBool
Bool if a flag function for a flag of type bool.
compflag/flags.go:24
FunctionBoolVar
BoolVar if a flag function for a flag of already exiting variable of type bool.
compflag/flags.go:29
FunctionCommandLine
Complete default command line flag set defined by the standard library.
flags.go:8
FunctionDuration
Duration if a flag function for a flag of type time.Duration.
compflag/flags.go:44
FunctionDurationVar
DurationVar if a flag function for a flag of already exiting variable of type time.Duration.
compflag/flags.go:49
FunctionExample
()
gocomplete/tests_test.go:55
FunctionExampleComplete_outputCapturing
ExampleComplete_outputCapturing demonstrates the ability to capture the output of Complete() invocations, crucial for integration tests.
complete_test.go:228
MethodFixed
()
internal/tokener/tokener.go:53
MethodFlagGet
(name string)
flags.go:32
MethodFlagGet
(flag string)
command.go:45
MethodFlagList
()
flags.go:24
MethodFlagList
()
command.go:37
MethodGet
()
flags_test.go:43
MethodGet
()
compflag/flags.go:122
MethodGet
()
compflag/flags.go:161
MethodGet
()
compflag/flags.go:202
MethodGet
()
compflag/flags.go:241
MethodInstall
(cmd, bin string)
install/fish.go:25
MethodInstall
(cmd, bin string)
install/zsh.go:19
MethodInstall
(cmd, bin string)
install/bash.go:18
FunctionInt
Int if a flag function for a flag of type int.
compflag/flags.go:34
FunctionIntVar
IntVar if a flag function for a flag of already exiting variable of type int.
compflag/flags.go:39
MethodIsBoolFlag
()
flags_test.go:47
MethodIsBoolFlag
()
compflag/flags.go:172
FunctionIsInstalled
IsInstalled returns true if the completion for the given cmd is installed.
install/install.go:75
MethodNArg
()
compflag/compflag.go:58
MethodNFlag
()
compflag/compflag.go:59
MethodNewInternalTypeFuncName
()
compflag/gen/main.go:20
MethodParsed
()
compflag/compflag.go:63
MethodPredict
(_ string)
complete_test.go:246
MethodPredict
(prefix string)
complete.go:44
MethodPredict
(_ string)
flags_test.go:49
MethodPredict
(prefix string)
compflag/flags.go:133
MethodPredict
(prefix string)
compflag/flags.go:174
MethodPredict
(prefix string)
compflag/flags.go:213
MethodPredict
(prefix string)
compflag/flags.go:252
MethodPredict
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
MethodPredict
(prefix string)
predict/files.go:106
MethodPredict
(prefix string)
predict/options.go:59
MethodPredict
(_ string)
predict/predict.go:9
MethodPrintDefaults
()
compflag/compflag.go:61
MethodSet
(s string)
flags_test.go:34
MethodSet
(val string)
compflag/flags.go:113
MethodSet
(val string)
compflag/flags.go:152
MethodSet
(val string)
compflag/flags.go:193
MethodSet
(val string)
compflag/flags.go:232
MethodString
()
compflag/flags.go:126
MethodString
()
compflag/flags.go:165
MethodString
()
compflag/flags.go:206
MethodString
()
compflag/flags.go:245
FunctionStringVar
StringVar if a flag function for a flag of already exiting variable of type string.
compflag/flags.go:19
MethodSubCmdGet
(cmd string)
flags.go:22
MethodSubCmdGet
(cmd string)
command.go:31
MethodSubCmdList
()
flags.go:20
MethodSubCmdList
()
command.go:23
FunctionTestArgsParsed
(t *testing.T)
internal/arg/arg_test.go:96
FunctionTestBool
(t *testing.T)
compflag/compflag_test.go:13
FunctionTestComplete
(t *testing.T)
complete_test.go:160
FunctionTestCompleter
(t *testing.T)
complete_test.go:42
FunctionTestCompleter_error
(t *testing.T)
complete_test.go:140
FunctionTestConfigCheck
(t *testing.T)
predict/options_test.go:7
FunctionTestConfigPredict
(t *testing.T)
predict/options_test.go:27
FunctionTestDuration
(t *testing.T)
compflag/compflag_test.go:109
FunctionTestErrorSupression
(t *testing.T)
gocomplete/tests_test.go:78
FunctionTestFiles
(t *testing.T)
predict/files_test.go:11
FunctionTestFlags
(t *testing.T)
flags_test.go:10
FunctionTestHasPrefix
(t *testing.T)
complete_test.go:250
FunctionTestInt
(t *testing.T)
compflag/compflag_test.go:66
FunctionTestMatchFile
(t *testing.T)
predict/files_test.go:136
FunctionTestParse
(t *testing.T)
internal/arg/arg_test.go:9
FunctionTestPredict
(t *testing.T)
predict/predict_test.go:10
FunctionTestPredictions
(t *testing.T)
gocomplete/tests_test.go:18
FunctionTestString
(t *testing.T)
compflag/compflag_test.go:30
MethodUninstall
(cmd, bin string)
install/fish.go:39
MethodUninstall
(cmd, bin string)
install/zsh.go:33
MethodUninstall
(cmd, bin string)
install/bash.go:26
Functionmain
()
example/compflag/main.go:21
Functionmain
()
example/command/main.go:21
Functionmain
()
example/stdlib/main.go:20
Functionmain
()
compflag/gen/main.go:35
FunctionpredictPackages
predictPackages completes packages in the directory pointed by a.Last and packages that are one level below that package.
gocomplete/pkgs.go:17
← previous101–194 of 194, ranked by callers