MCPcopy Create free account

hub / github.com/alecthomas/kong / functions

Functions778 in github.com/alecthomas/kong

FunctionTestDuplicateFlagOnPeerCommandIsOkay
(t *testing.T)
kong_test.go:353
FunctionTestDuplicateName
(t *testing.T)
kong_test.go:2742
FunctionTestDuplicateNegatableFlagsInSubcommands
(t *testing.T)
kong_test.go:606
FunctionTestDuplicateNegatableLong
(t *testing.T)
kong_test.go:590
FunctionTestDuplicateNestedShortFlags
(t *testing.T)
kong_test.go:2274
FunctionTestDuplicateShortflags
(t *testing.T)
kong_test.go:2216
FunctionTestDuplicateSliceAccumulates
(t *testing.T)
kong_test.go:809
FunctionTestDurationMapper
(t *testing.T)
mapper_test.go:119
FunctionTestDurationMapperJSONResolver
(t *testing.T)
mapper_test.go:129
FunctionTestDynamicCommands
(t *testing.T)
kong_test.go:2181
FunctionTestEmbedInterface
(t *testing.T)
kong_test.go:1126
FunctionTestEmbeddedCallbacks
(t *testing.T)
kong_test.go:3141
FunctionTestEmbeddedStruct
(t *testing.T)
kong_test.go:858
FunctionTestEmptyInterpolationFallback
(t *testing.T)
kong_test.go:1038
FunctionTestEnum
(t *testing.T)
kong_test.go:1217
FunctionTestEnumArg
(t *testing.T)
kong_test.go:1759
FunctionTestEnumMeaningfulOrder
(t *testing.T)
kong_test.go:1225
FunctionTestEnumPtr
(t *testing.T)
kong_test.go:2981
FunctionTestEnumPtrOmitted
(t *testing.T)
kong_test.go:2995
FunctionTestEnumPtrOmittedNoDefault
(t *testing.T)
kong_test.go:3009
FunctionTestEnumSequence
(t *testing.T)
kong_test.go:1689
FunctionTestEnumValidation
(t *testing.T)
kong_test.go:2368
FunctionTestEnv
(t *testing.T)
resolver_test.go:249
FunctionTestEnvarAutoHelp
(t *testing.T)
help_test.go:463
FunctionTestEnvarAutoHelpWithEnvPrefix
nolint:dupl // false positive
help_test.go:498
FunctionTestEnvarEnumValidated
(t *testing.T)
kong_test.go:1278
FunctionTestEnvarsEnvPrefix
(t *testing.T)
resolver_test.go:91
FunctionTestEnvarsEnvPrefixMultiple
(t *testing.T)
resolver_test.go:105
FunctionTestEnvarsEnvPrefixOnSubcommand
(t *testing.T)
resolver_test.go:138
FunctionTestEnvarsFlagBasic
(t *testing.T)
resolver_test.go:25
FunctionTestEnvarsFlagMultiple
(t *testing.T)
resolver_test.go:50
FunctionTestEnvarsFlagOverride
(t *testing.T)
resolver_test.go:69
FunctionTestEnvarsNestedEnvPrefix
(t *testing.T)
resolver_test.go:121
FunctionTestEnvarsSharedBetweenCommands
(t *testing.T)
resolver_test.go:193
FunctionTestEnvarsTag
(t *testing.T)
resolver_test.go:80
FunctionTestEnvarsWithDefault
(t *testing.T)
resolver_test.go:156
FunctionTestErrorMissingArgs
(t *testing.T)
kong_test.go:1080
FunctionTestEscapedQuote
(t *testing.T)
tag_test.go:60
FunctionTestEscapingInQuotedTags
(t *testing.T)
tag_test.go:70
FunctionTestExcludeEmbeddedField
(t *testing.T)
kong_test.go:1152
FunctionTestExcludedField
(t *testing.T)
kong_test.go:1139
FunctionTestExistingDirMapper
nolint:dupl
mapper_test.go:706
FunctionTestExistingDirMapperDefaultMissing
(t *testing.T)
mapper_test.go:726
FunctionTestExistingDirMapperDefaultMissingCmds
(t *testing.T)
mapper_test.go:744
FunctionTestExistingFileMapper
nolint:dupl
mapper_test.go:627
FunctionTestExistingFileMapperDefaultMissing
(t *testing.T)
mapper_test.go:661
FunctionTestExistingFileMapperDefaultMissingCmds
(t *testing.T)
mapper_test.go:679
FunctionTestExistingFileMapperSlice
(t *testing.T)
mapper_test.go:647
FunctionTestExistingNoFlag
(t *testing.T)
kong_test.go:619
FunctionTestExtendedValidateEmbed
(t *testing.T)
kong_test.go:2141
FunctionTestExtendedValidateFlag
(t *testing.T)
kong_test.go:2065
FunctionTestFileContentFlag
(t *testing.T)
mapper_test.go:267
FunctionTestFileContentMapper
(t *testing.T)
mapper_test.go:502
FunctionTestFileContentMapperRejectsNonByteSlice
(t *testing.T)
mapper_test.go:523
FunctionTestFileMapper
(t *testing.T)
mapper_test.go:483
FunctionTestFileMapperWithDefaultNonExistentFile
(t *testing.T)
mapper_test.go:879
FunctionTestFlagNamer
(t *testing.T)
options_test.go:177
FunctionTestFlagSlice
(t *testing.T)
kong_test.go:123
FunctionTestFlagSliceWithSeparator
(t *testing.T)
kong_test.go:133
FunctionTestFlagString
(t *testing.T)
model_test.go:30
FunctionTestFlagsLast
(t *testing.T)
help_test.go:176
FunctionTestGlobalHooks
(t *testing.T)
kong_test.go:708
FunctionTestHasInterpolatedVar
(t *testing.T)
interpolate_test.go:49
FunctionTestHelp
(t *testing.T)
help_test.go:66
FunctionTestHelpCompactNoExpand
(t *testing.T)
help_test.go:376
FunctionTestHelpGrouping
(t *testing.T)
help_test.go:642
FunctionTestHelpNoAppDescFormat
(t *testing.T)
help_test.go:887
FunctionTestHelpOptionalArgs
(t *testing.T)
help_test.go:34
FunctionTestHelpProviderOnRoot
(t *testing.T)
help_test.go:957
FunctionTestHelpShouldStillWork
(t *testing.T)
kong_test.go:2597
FunctionTestHelpTree
(t *testing.T)
help_test.go:283
FunctionTestHooks
(t *testing.T)
kong_test.go:677
FunctionTestHooksCalledForDefault
(t *testing.T)
kong_test.go:1205
FunctionTestHydratePointerCommandsAndEmbeds
(t *testing.T)
kong_test.go:2285
FunctionTestIgnoreHelpInUsage
(t *testing.T)
model_test.go:75
FunctionTestIgnoreRegex
(t *testing.T)
kong_test.go:2320
FunctionTestIgnoreRegexEmpty
Verify that passing a nil regex will work
kong_test.go:2342
FunctionTestIntEnum
(t *testing.T)
kong_test.go:3022
FunctionTestIntPtr
(t *testing.T)
kong_test.go:2879
FunctionTestInterpolate
(t *testing.T)
interpolate_test.go:9
FunctionTestInterpolateFallback
(t *testing.T)
interpolate_test.go:22
FunctionTestInterpolationIntoModel
(t *testing.T)
kong_test.go:1008
FunctionTestInvalidCallback
(t *testing.T)
options_test.go:64
FunctionTestInvalidDefaultErrors
(t *testing.T)
kong_test.go:325
FunctionTestInvalidNegatedNonBool
(t *testing.T)
kong_test.go:634
FunctionTestInvalidRequiredAfterOptional
(t *testing.T)
kong_test.go:264
FunctionTestInvalidRuneErrors
(t *testing.T)
tag_test.go:268
FunctionTestIssue153
(t *testing.T)
kong_test.go:1740
FunctionTestIssue179
(t *testing.T)
kong_test.go:1723
FunctionTestIssue244
(t *testing.T)
kong_test.go:1053
FunctionTestIssue40EnumAcrossCommands
(t *testing.T)
kong_test.go:1699
FunctionTestIssue483EmptyRootNodeNoRun
(t *testing.T)
kong_test.go:3306
FunctionTestJSONBasic
(t *testing.T)
resolver_test.go:301
FunctionTestJSONLargeNumber
(t *testing.T)
mapper_test.go:435
FunctionTestJSONUnmarshaler
(t *testing.T)
mapper_test.go:69
FunctionTestJoinEscaped
(t *testing.T)
mapper_test.go:147
FunctionTestLastResolverWins
(t *testing.T)
resolver_test.go:407
FunctionTestLastWins
(t *testing.T)
kong_test.go:1494
FunctionTestLastWinsEnumLoserRevertsToDefault
(t *testing.T)
kong_test.go:1665
FunctionTestLastWinsHooks
(t *testing.T)
kong_test.go:1676
← previousnext →501–600 of 778, ranked by callers