Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alecthomas/kong
/ functions
Functions
778 in github.com/alecthomas/kong
⨍
Functions
778
◇
Types & classes
240
Method
Run
(globals *Globals)
_examples/docker/commands.go:169
Method
Run
(globals *Globals)
_examples/docker/commands.go:177
Method
Run
(globals *Globals)
_examples/docker/commands.go:185
Method
Run
(globals *Globals)
_examples/docker/commands.go:193
Method
Run
(globals *Globals)
_examples/docker/commands.go:201
Method
Run
(globals *Globals)
_examples/docker/commands.go:209
Method
Run
(globals *Globals)
_examples/docker/commands.go:217
Method
Run
(globals *Globals)
_examples/docker/commands.go:225
Method
Run
(globals *Globals)
_examples/docker/commands.go:233
Method
Run
(globals *Globals)
_examples/docker/commands.go:241
Method
Run
(globals *Globals)
_examples/docker/commands.go:249
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:1117
Method
SomeMethod
()
kong_test.go:1124
Method
String
()
model.go:436
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:3259
Function
TestAfterRun
(t *testing.T)
kong_test.go:3064
Function
TestAlias
(t *testing.T)
kong_test.go:779
Function
TestAnd
(t *testing.T)
kong_test.go:1304
Function
TestAndChild
(t *testing.T)
kong_test.go:1336
Function
TestAndRequired
(t *testing.T)
kong_test.go:1440
Function
TestAndRequiredMany
(t *testing.T)
kong_test.go:1479
Function
TestAnonymousPrefix
(t *testing.T)
kong_test.go:1103
Function
TestApplyCalledOnce
(t *testing.T)
kong_test.go:3180
Function
TestApplyDefaults
(t *testing.T)
defaults_test.go:10
Function
TestArgSlice
(t *testing.T)
kong_test.go:143
Function
TestArgSliceWithSeparator
(t *testing.T)
kong_test.go:155
Function
TestArgWithDefaultIsOptional
(t *testing.T)
kong_test.go:243
Function
TestAutoGroup
(t *testing.T)
help_test.go:567
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
TestBindSingletonProviderValueTypedError
(t *testing.T)
options_test.go:213
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:1092
Function
TestBoolPtr
(t *testing.T)
kong_test.go:2895
Function
TestBoolPtrFalse
(t *testing.T)
kong_test.go:2909
Function
TestBoolPtrNegated
(t *testing.T)
kong_test.go:2923
Function
TestBoolPtrNil
(t *testing.T)
kong_test.go:2950
Function
TestBranchingArgument
(t *testing.T)
kong_test.go:72
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:186
Function
TestChangeDirFlag
(t *testing.T)
util_test.go:46
Function
TestChildNameCanBeDuplicated
(t *testing.T)
kong_test.go:2763
Function
TestCommaInQuotes
(t *testing.T)
tag_test.go:34
Function
TestCommandMissingTagIsInvalid
(t *testing.T)
kong_test.go:334
Function
TestConfigDoesNotMaskInvalidDefaultWithoutOverride
(t *testing.T)
config_test.go:57
Function
TestConfigFlag
(t *testing.T)
util_test.go:13
Function
TestConfigOverridesInvalidDefaultForExistingFile
(t *testing.T)
config_test.go:42
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:2774
Function
TestCumulativeArgumentNotLast
(t *testing.T)
kong_test.go:2783
Function
TestCustomShortUsageOnError
(t *testing.T)
help_test.go:850
Function
TestCustomTypeNoEllipsis
(t *testing.T)
kong_test.go:3271
Function
TestCustomValueFormatter
nolint:dupl // false positive
help_test.go:532
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:866
Function
TestDefaultCommand
(t *testing.T)
kong_test.go:1773
Function
TestDefaultCommandFlagsBeforeSiblingCommand
(t *testing.T)
kong_test.go:1897
Function
TestDefaultCommandPrecedence
(t *testing.T)
kong_test.go:1867
Function
TestDefaultCommandWithAllowedArgument
(t *testing.T)
kong_test.go:1825
Function
TestDefaultCommandWithAllowedBranchingArgument
(t *testing.T)
kong_test.go:1851
Function
TestDefaultCommandWithAllowedSubCommand
(t *testing.T)
kong_test.go:1803
Function
TestDefaultCommandWithArgument
(t *testing.T)
kong_test.go:1815
Function
TestDefaultCommandWithBranchingArgument
(t *testing.T)
kong_test.go:1839
Function
TestDefaultCommandWithSubCommand
(t *testing.T)
kong_test.go:1793
Function
TestDefaultEnumValidated
(t *testing.T)
kong_test.go:1269
Function
TestDefaultValueForOptionalArg
(t *testing.T)
tag_test.go:12
Function
TestDefaultValueIsHyphen
(t *testing.T)
kong_test.go:1259
Function
TestDisabledDefaultEnvarAutoHelp
(t *testing.T)
help_test.go:474
Function
TestDuplicateAliasLong
(t *testing.T)
kong_test.go:2265
Function
TestDuplicateAliases
(t *testing.T)
kong_test.go:2225
Function
TestDuplicateChildName
(t *testing.T)
kong_test.go:2751
Function
TestDuplicateFlag
(t *testing.T)
kong_test.go:342
Function
TestDuplicateFlagChoosesLast
(t *testing.T)
kong_test.go:799
← previous
next →
401–500 of 778, ranked by callers