MCPcopy Create free account

hub / github.com/alecthomas/kong / functions

Functions738 in github.com/alecthomas/kong

MethodRun
(globals *Globals)
_examples/docker/commands.go:257
MethodRun
(globals *Globals)
_examples/docker/commands.go:265
MethodRun
(globals *Globals)
_examples/docker/commands.go:273
MethodRun
(globals *Globals)
_examples/docker/commands.go:281
MethodRun
(globals *Globals)
_examples/docker/commands.go:289
MethodRun
(globals *Globals)
_examples/docker/commands.go:297
MethodRun
(globals *Globals)
_examples/docker/commands.go:305
MethodRun
(globals *Globals)
_examples/docker/commands.go:313
MethodRun
(globals *Globals)
_examples/docker/commands.go:321
MethodRun
(globals *Globals)
_examples/docker/commands.go:329
MethodRun
(globals *Globals)
_examples/docker/commands.go:337
MethodSignature
()
signature_test.go:17
MethodSignature
()
signature_test.go:57
MethodSignature
()
signature_test.go:112
MethodSignature
()
signature_test.go:140
MethodSignature
()
signature_test.go:154
MethodSomeMethod
()
kong_test.go:969
MethodSomeMethod
()
kong_test.go:976
MethodString
()
model.go:435
MethodString
()
callbacks.go:64
MethodString
()
scanner.go:22
MethodSummary
Summary returns a human-readable summary of the value.
model.go:315
FunctionTestAfterApplyFiresForEnvOnlyFlag
Regression for #596: flags whose value is supplied via env should fire AfterApply just like flags set on the command line or by a resolver. The Reset
kong_test.go:2795
FunctionTestAfterRun
(t *testing.T)
kong_test.go:2625
FunctionTestAlias
(t *testing.T)
kong_test.go:662
FunctionTestAnd
(t *testing.T)
kong_test.go:1156
FunctionTestAndChild
(t *testing.T)
kong_test.go:1188
FunctionTestAndRequired
(t *testing.T)
kong_test.go:1292
FunctionTestAndRequiredMany
(t *testing.T)
kong_test.go:1331
FunctionTestAnonymousPrefix
(t *testing.T)
kong_test.go:955
FunctionTestApplyCalledOnce
(t *testing.T)
kong_test.go:2741
FunctionTestApplyDefaults
(t *testing.T)
defaults_test.go:10
FunctionTestArgSlice
(t *testing.T)
kong_test.go:141
FunctionTestArgSliceWithSeparator
(t *testing.T)
kong_test.go:153
FunctionTestArgWithDefaultIsOptional
(t *testing.T)
kong_test.go:241
FunctionTestAutoGroup
(t *testing.T)
help_test.go:555
FunctionTestBadString
(t *testing.T)
tag_test.go:44
FunctionTestBareAndKongTagsCoexist
(t *testing.T)
tag_test.go:112
FunctionTestBareTags
(t *testing.T)
tag_test.go:82
FunctionTestBareTagsWithJsonTag
(t *testing.T)
tag_test.go:97
FunctionTestBindFor
(t *testing.T)
options_test.go:47
FunctionTestBindSingletonProvider
(t *testing.T)
options_test.go:140
FunctionTestBindTo
(t *testing.T)
options_test.go:27
FunctionTestBindToProvider
(t *testing.T)
options_test.go:126
FunctionTestBoolOverride
(t *testing.T)
kong_test.go:944
FunctionTestBoolPtr
(t *testing.T)
kong_test.go:2456
FunctionTestBoolPtrFalse
(t *testing.T)
kong_test.go:2470
FunctionTestBoolPtrNegated
(t *testing.T)
kong_test.go:2484
FunctionTestBoolPtrNil
(t *testing.T)
kong_test.go:2511
FunctionTestBranchingArgument
(t *testing.T)
kong_test.go:70
FunctionTestCallbackCustomError
(t *testing.T)
options_test.go:89
FunctionTestCallbackNonPointerError
(t *testing.T)
options_test.go:192
FunctionTestCantMixPositionalAndBranches
(t *testing.T)
kong_test.go:184
FunctionTestChangeDirFlag
(t *testing.T)
util_test.go:46
FunctionTestChildNameCanBeDuplicated
(t *testing.T)
kong_test.go:2324
FunctionTestCommaInQuotes
(t *testing.T)
tag_test.go:34
FunctionTestCommandMissingTagIsInvalid
(t *testing.T)
kong_test.go:332
FunctionTestConfigFlag
(t *testing.T)
util_test.go:13
FunctionTestConfigValidation
(t *testing.T)
config_test.go:29
FunctionTestCounter
(t *testing.T)
mapper_test.go:308
FunctionTestCumulativeArgumentLast
(t *testing.T)
kong_test.go:2335
FunctionTestCumulativeArgumentNotLast
(t *testing.T)
kong_test.go:2344
FunctionTestCustomShortUsageOnError
(t *testing.T)
help_test.go:838
FunctionTestCustomTypeNoEllipsis
(t *testing.T)
kong_test.go:2807
FunctionTestCustomValueFormatter
nolint:dupl // false positive
help_test.go:520
FunctionTestCustomWrap
(t *testing.T)
helpwrap1.19_test.go:17
FunctionTestCustomWrap
(t *testing.T)
helpwrap1.18_test.go:14
FunctionTestDecode
(t *testing.T)
mapper_test.go:834
FunctionTestDefaultCommand
(t *testing.T)
kong_test.go:1430
FunctionTestDefaultCommandPrecedence
(t *testing.T)
kong_test.go:1524
FunctionTestDefaultCommandWithAllowedArgument
(t *testing.T)
kong_test.go:1482
FunctionTestDefaultCommandWithAllowedBranchingArgument
(t *testing.T)
kong_test.go:1508
FunctionTestDefaultCommandWithAllowedSubCommand
(t *testing.T)
kong_test.go:1460
FunctionTestDefaultCommandWithArgument
(t *testing.T)
kong_test.go:1472
FunctionTestDefaultCommandWithBranchingArgument
(t *testing.T)
kong_test.go:1496
FunctionTestDefaultCommandWithSubCommand
(t *testing.T)
kong_test.go:1450
FunctionTestDefaultEnumValidated
(t *testing.T)
kong_test.go:1121
FunctionTestDefaultValueForOptionalArg
(t *testing.T)
tag_test.go:12
FunctionTestDefaultValueIsHyphen
(t *testing.T)
kong_test.go:1111
FunctionTestDuplicateAliasLong
(t *testing.T)
kong_test.go:1826
FunctionTestDuplicateAliases
(t *testing.T)
kong_test.go:1803
FunctionTestDuplicateChildName
(t *testing.T)
kong_test.go:2312
FunctionTestDuplicateFlag
(t *testing.T)
kong_test.go:340
FunctionTestDuplicateFlagChoosesLast
(t *testing.T)
kong_test.go:682
FunctionTestDuplicateFlagOnPeerCommandIsOkay
(t *testing.T)
kong_test.go:351
FunctionTestDuplicateName
(t *testing.T)
kong_test.go:2303
FunctionTestDuplicateNegatableFlagsInSubcommands
(t *testing.T)
kong_test.go:489
FunctionTestDuplicateNegatableLong
(t *testing.T)
kong_test.go:473
FunctionTestDuplicateNestedShortFlags
(t *testing.T)
kong_test.go:1835
FunctionTestDuplicateShortflags
(t *testing.T)
kong_test.go:1794
FunctionTestDuplicateSliceAccumulates
(t *testing.T)
kong_test.go:692
FunctionTestDurationMapper
(t *testing.T)
mapper_test.go:119
FunctionTestDurationMapperJSONResolver
(t *testing.T)
mapper_test.go:129
FunctionTestDynamicCommands
(t *testing.T)
kong_test.go:1759
FunctionTestEmbedInterface
(t *testing.T)
kong_test.go:978
FunctionTestEmbeddedCallbacks
(t *testing.T)
kong_test.go:2702
FunctionTestEmbeddedStruct
(t *testing.T)
kong_test.go:725
FunctionTestEnum
(t *testing.T)
kong_test.go:1069
FunctionTestEnumArg
(t *testing.T)
kong_test.go:1416
FunctionTestEnumMeaningfulOrder
(t *testing.T)
kong_test.go:1077
← previousnext →401–500 of 738, ranked by callers