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
Function
TestDuplicateFlagOnPeerCommandIsOkay
(t *testing.T)
kong_test.go:353
Function
TestDuplicateName
(t *testing.T)
kong_test.go:2742
Function
TestDuplicateNegatableFlagsInSubcommands
(t *testing.T)
kong_test.go:606
Function
TestDuplicateNegatableLong
(t *testing.T)
kong_test.go:590
Function
TestDuplicateNestedShortFlags
(t *testing.T)
kong_test.go:2274
Function
TestDuplicateShortflags
(t *testing.T)
kong_test.go:2216
Function
TestDuplicateSliceAccumulates
(t *testing.T)
kong_test.go:809
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:2181
Function
TestEmbedInterface
(t *testing.T)
kong_test.go:1126
Function
TestEmbeddedCallbacks
(t *testing.T)
kong_test.go:3141
Function
TestEmbeddedStruct
(t *testing.T)
kong_test.go:858
Function
TestEmptyInterpolationFallback
(t *testing.T)
kong_test.go:1038
Function
TestEnum
(t *testing.T)
kong_test.go:1217
Function
TestEnumArg
(t *testing.T)
kong_test.go:1759
Function
TestEnumMeaningfulOrder
(t *testing.T)
kong_test.go:1225
Function
TestEnumPtr
(t *testing.T)
kong_test.go:2981
Function
TestEnumPtrOmitted
(t *testing.T)
kong_test.go:2995
Function
TestEnumPtrOmittedNoDefault
(t *testing.T)
kong_test.go:3009
Function
TestEnumSequence
(t *testing.T)
kong_test.go:1689
Function
TestEnumValidation
(t *testing.T)
kong_test.go:2368
Function
TestEnv
(t *testing.T)
resolver_test.go:249
Function
TestEnvarAutoHelp
(t *testing.T)
help_test.go:463
Function
TestEnvarAutoHelpWithEnvPrefix
nolint:dupl // false positive
help_test.go:498
Function
TestEnvarEnumValidated
(t *testing.T)
kong_test.go:1278
Function
TestEnvarsEnvPrefix
(t *testing.T)
resolver_test.go:91
Function
TestEnvarsEnvPrefixMultiple
(t *testing.T)
resolver_test.go:105
Function
TestEnvarsEnvPrefixOnSubcommand
(t *testing.T)
resolver_test.go:138
Function
TestEnvarsFlagBasic
(t *testing.T)
resolver_test.go:25
Function
TestEnvarsFlagMultiple
(t *testing.T)
resolver_test.go:50
Function
TestEnvarsFlagOverride
(t *testing.T)
resolver_test.go:69
Function
TestEnvarsNestedEnvPrefix
(t *testing.T)
resolver_test.go:121
Function
TestEnvarsSharedBetweenCommands
(t *testing.T)
resolver_test.go:193
Function
TestEnvarsTag
(t *testing.T)
resolver_test.go:80
Function
TestEnvarsWithDefault
(t *testing.T)
resolver_test.go:156
Function
TestErrorMissingArgs
(t *testing.T)
kong_test.go:1080
Function
TestEscapedQuote
(t *testing.T)
tag_test.go:60
Function
TestEscapingInQuotedTags
(t *testing.T)
tag_test.go:70
Function
TestExcludeEmbeddedField
(t *testing.T)
kong_test.go:1152
Function
TestExcludedField
(t *testing.T)
kong_test.go:1139
Function
TestExistingDirMapper
nolint:dupl
mapper_test.go:706
Function
TestExistingDirMapperDefaultMissing
(t *testing.T)
mapper_test.go:726
Function
TestExistingDirMapperDefaultMissingCmds
(t *testing.T)
mapper_test.go:744
Function
TestExistingFileMapper
nolint:dupl
mapper_test.go:627
Function
TestExistingFileMapperDefaultMissing
(t *testing.T)
mapper_test.go:661
Function
TestExistingFileMapperDefaultMissingCmds
(t *testing.T)
mapper_test.go:679
Function
TestExistingFileMapperSlice
(t *testing.T)
mapper_test.go:647
Function
TestExistingNoFlag
(t *testing.T)
kong_test.go:619
Function
TestExtendedValidateEmbed
(t *testing.T)
kong_test.go:2141
Function
TestExtendedValidateFlag
(t *testing.T)
kong_test.go:2065
Function
TestFileContentFlag
(t *testing.T)
mapper_test.go:267
Function
TestFileContentMapper
(t *testing.T)
mapper_test.go:502
Function
TestFileContentMapperRejectsNonByteSlice
(t *testing.T)
mapper_test.go:523
Function
TestFileMapper
(t *testing.T)
mapper_test.go:483
Function
TestFileMapperWithDefaultNonExistentFile
(t *testing.T)
mapper_test.go:879
Function
TestFlagNamer
(t *testing.T)
options_test.go:177
Function
TestFlagSlice
(t *testing.T)
kong_test.go:123
Function
TestFlagSliceWithSeparator
(t *testing.T)
kong_test.go:133
Function
TestFlagString
(t *testing.T)
model_test.go:30
Function
TestFlagsLast
(t *testing.T)
help_test.go:176
Function
TestGlobalHooks
(t *testing.T)
kong_test.go:708
Function
TestHasInterpolatedVar
(t *testing.T)
interpolate_test.go:49
Function
TestHelp
(t *testing.T)
help_test.go:66
Function
TestHelpCompactNoExpand
(t *testing.T)
help_test.go:376
Function
TestHelpGrouping
(t *testing.T)
help_test.go:642
Function
TestHelpNoAppDescFormat
(t *testing.T)
help_test.go:887
Function
TestHelpOptionalArgs
(t *testing.T)
help_test.go:34
Function
TestHelpProviderOnRoot
(t *testing.T)
help_test.go:957
Function
TestHelpShouldStillWork
(t *testing.T)
kong_test.go:2597
Function
TestHelpTree
(t *testing.T)
help_test.go:283
Function
TestHooks
(t *testing.T)
kong_test.go:677
Function
TestHooksCalledForDefault
(t *testing.T)
kong_test.go:1205
Function
TestHydratePointerCommandsAndEmbeds
(t *testing.T)
kong_test.go:2285
Function
TestIgnoreHelpInUsage
(t *testing.T)
model_test.go:75
Function
TestIgnoreRegex
(t *testing.T)
kong_test.go:2320
Function
TestIgnoreRegexEmpty
Verify that passing a nil regex will work
kong_test.go:2342
Function
TestIntEnum
(t *testing.T)
kong_test.go:3022
Function
TestIntPtr
(t *testing.T)
kong_test.go:2879
Function
TestInterpolate
(t *testing.T)
interpolate_test.go:9
Function
TestInterpolateFallback
(t *testing.T)
interpolate_test.go:22
Function
TestInterpolationIntoModel
(t *testing.T)
kong_test.go:1008
Function
TestInvalidCallback
(t *testing.T)
options_test.go:64
Function
TestInvalidDefaultErrors
(t *testing.T)
kong_test.go:325
Function
TestInvalidNegatedNonBool
(t *testing.T)
kong_test.go:634
Function
TestInvalidRequiredAfterOptional
(t *testing.T)
kong_test.go:264
Function
TestInvalidRuneErrors
(t *testing.T)
tag_test.go:268
Function
TestIssue153
(t *testing.T)
kong_test.go:1740
Function
TestIssue179
(t *testing.T)
kong_test.go:1723
Function
TestIssue244
(t *testing.T)
kong_test.go:1053
Function
TestIssue40EnumAcrossCommands
(t *testing.T)
kong_test.go:1699
Function
TestIssue483EmptyRootNodeNoRun
(t *testing.T)
kong_test.go:3306
Function
TestJSONBasic
(t *testing.T)
resolver_test.go:301
Function
TestJSONLargeNumber
(t *testing.T)
mapper_test.go:435
Function
TestJSONUnmarshaler
(t *testing.T)
mapper_test.go:69
Function
TestJoinEscaped
(t *testing.T)
mapper_test.go:147
Function
TestLastResolverWins
(t *testing.T)
resolver_test.go:407
Function
TestLastWins
(t *testing.T)
kong_test.go:1494
Function
TestLastWinsEnumLoserRevertsToDefault
(t *testing.T)
kong_test.go:1665
Function
TestLastWinsHooks
(t *testing.T)
kong_test.go:1676
← previous
next →
501–600 of 778, ranked by callers