Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alecthomas/kong
/ functions
Functions
738 in github.com/alecthomas/kong
⨍
Functions
738
◇
Types & classes
229
Method
Run
(globals *Globals)
_examples/docker/commands.go:257
Method
Run
(globals *Globals)
_examples/docker/commands.go:265
Method
Run
(globals *Globals)
_examples/docker/commands.go:273
Method
Run
(globals *Globals)
_examples/docker/commands.go:281
Method
Run
(globals *Globals)
_examples/docker/commands.go:289
Method
Run
(globals *Globals)
_examples/docker/commands.go:297
Method
Run
(globals *Globals)
_examples/docker/commands.go:305
Method
Run
(globals *Globals)
_examples/docker/commands.go:313
Method
Run
(globals *Globals)
_examples/docker/commands.go:321
Method
Run
(globals *Globals)
_examples/docker/commands.go:329
Method
Run
(globals *Globals)
_examples/docker/commands.go:337
Method
Signature
()
signature_test.go:17
Method
Signature
()
signature_test.go:57
Method
Signature
()
signature_test.go:112
Method
Signature
()
signature_test.go:140
Method
Signature
()
signature_test.go:154
Method
SomeMethod
()
kong_test.go:969
Method
SomeMethod
()
kong_test.go:976
Method
String
()
model.go:435
Method
String
()
callbacks.go:64
Method
String
()
scanner.go:22
Method
Summary
Summary returns a human-readable summary of the value.
model.go:315
Function
TestAfterApplyFiresForEnvOnlyFlag
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
Function
TestAfterRun
(t *testing.T)
kong_test.go:2625
Function
TestAlias
(t *testing.T)
kong_test.go:662
Function
TestAnd
(t *testing.T)
kong_test.go:1156
Function
TestAndChild
(t *testing.T)
kong_test.go:1188
Function
TestAndRequired
(t *testing.T)
kong_test.go:1292
Function
TestAndRequiredMany
(t *testing.T)
kong_test.go:1331
Function
TestAnonymousPrefix
(t *testing.T)
kong_test.go:955
Function
TestApplyCalledOnce
(t *testing.T)
kong_test.go:2741
Function
TestApplyDefaults
(t *testing.T)
defaults_test.go:10
Function
TestArgSlice
(t *testing.T)
kong_test.go:141
Function
TestArgSliceWithSeparator
(t *testing.T)
kong_test.go:153
Function
TestArgWithDefaultIsOptional
(t *testing.T)
kong_test.go:241
Function
TestAutoGroup
(t *testing.T)
help_test.go:555
Function
TestBadString
(t *testing.T)
tag_test.go:44
Function
TestBareAndKongTagsCoexist
(t *testing.T)
tag_test.go:112
Function
TestBareTags
(t *testing.T)
tag_test.go:82
Function
TestBareTagsWithJsonTag
(t *testing.T)
tag_test.go:97
Function
TestBindFor
(t *testing.T)
options_test.go:47
Function
TestBindSingletonProvider
(t *testing.T)
options_test.go:140
Function
TestBindTo
(t *testing.T)
options_test.go:27
Function
TestBindToProvider
(t *testing.T)
options_test.go:126
Function
TestBoolOverride
(t *testing.T)
kong_test.go:944
Function
TestBoolPtr
(t *testing.T)
kong_test.go:2456
Function
TestBoolPtrFalse
(t *testing.T)
kong_test.go:2470
Function
TestBoolPtrNegated
(t *testing.T)
kong_test.go:2484
Function
TestBoolPtrNil
(t *testing.T)
kong_test.go:2511
Function
TestBranchingArgument
(t *testing.T)
kong_test.go:70
Function
TestCallbackCustomError
(t *testing.T)
options_test.go:89
Function
TestCallbackNonPointerError
(t *testing.T)
options_test.go:192
Function
TestCantMixPositionalAndBranches
(t *testing.T)
kong_test.go:184
Function
TestChangeDirFlag
(t *testing.T)
util_test.go:46
Function
TestChildNameCanBeDuplicated
(t *testing.T)
kong_test.go:2324
Function
TestCommaInQuotes
(t *testing.T)
tag_test.go:34
Function
TestCommandMissingTagIsInvalid
(t *testing.T)
kong_test.go:332
Function
TestConfigFlag
(t *testing.T)
util_test.go:13
Function
TestConfigValidation
(t *testing.T)
config_test.go:29
Function
TestCounter
(t *testing.T)
mapper_test.go:308
Function
TestCumulativeArgumentLast
(t *testing.T)
kong_test.go:2335
Function
TestCumulativeArgumentNotLast
(t *testing.T)
kong_test.go:2344
Function
TestCustomShortUsageOnError
(t *testing.T)
help_test.go:838
Function
TestCustomTypeNoEllipsis
(t *testing.T)
kong_test.go:2807
Function
TestCustomValueFormatter
nolint:dupl // false positive
help_test.go:520
Function
TestCustomWrap
(t *testing.T)
helpwrap1.19_test.go:17
Function
TestCustomWrap
(t *testing.T)
helpwrap1.18_test.go:14
Function
TestDecode
(t *testing.T)
mapper_test.go:834
Function
TestDefaultCommand
(t *testing.T)
kong_test.go:1430
Function
TestDefaultCommandPrecedence
(t *testing.T)
kong_test.go:1524
Function
TestDefaultCommandWithAllowedArgument
(t *testing.T)
kong_test.go:1482
Function
TestDefaultCommandWithAllowedBranchingArgument
(t *testing.T)
kong_test.go:1508
Function
TestDefaultCommandWithAllowedSubCommand
(t *testing.T)
kong_test.go:1460
Function
TestDefaultCommandWithArgument
(t *testing.T)
kong_test.go:1472
Function
TestDefaultCommandWithBranchingArgument
(t *testing.T)
kong_test.go:1496
Function
TestDefaultCommandWithSubCommand
(t *testing.T)
kong_test.go:1450
Function
TestDefaultEnumValidated
(t *testing.T)
kong_test.go:1121
Function
TestDefaultValueForOptionalArg
(t *testing.T)
tag_test.go:12
Function
TestDefaultValueIsHyphen
(t *testing.T)
kong_test.go:1111
Function
TestDuplicateAliasLong
(t *testing.T)
kong_test.go:1826
Function
TestDuplicateAliases
(t *testing.T)
kong_test.go:1803
Function
TestDuplicateChildName
(t *testing.T)
kong_test.go:2312
Function
TestDuplicateFlag
(t *testing.T)
kong_test.go:340
Function
TestDuplicateFlagChoosesLast
(t *testing.T)
kong_test.go:682
Function
TestDuplicateFlagOnPeerCommandIsOkay
(t *testing.T)
kong_test.go:351
Function
TestDuplicateName
(t *testing.T)
kong_test.go:2303
Function
TestDuplicateNegatableFlagsInSubcommands
(t *testing.T)
kong_test.go:489
Function
TestDuplicateNegatableLong
(t *testing.T)
kong_test.go:473
Function
TestDuplicateNestedShortFlags
(t *testing.T)
kong_test.go:1835
Function
TestDuplicateShortflags
(t *testing.T)
kong_test.go:1794
Function
TestDuplicateSliceAccumulates
(t *testing.T)
kong_test.go:692
Function
TestDurationMapper
(t *testing.T)
mapper_test.go:119
Function
TestDurationMapperJSONResolver
(t *testing.T)
mapper_test.go:129
Function
TestDynamicCommands
(t *testing.T)
kong_test.go:1759
Function
TestEmbedInterface
(t *testing.T)
kong_test.go:978
Function
TestEmbeddedCallbacks
(t *testing.T)
kong_test.go:2702
Function
TestEmbeddedStruct
(t *testing.T)
kong_test.go:725
Function
TestEnum
(t *testing.T)
kong_test.go:1069
Function
TestEnumArg
(t *testing.T)
kong_test.go:1416
Function
TestEnumMeaningfulOrder
(t *testing.T)
kong_test.go:1077
← previous
next →
401–500 of 738, ranked by callers