MCPcopy Create free account

hub / github.com/alecthomas/kong / functions

Functions738 in github.com/alecthomas/kong

MethodDecode
(ctx *kong.DecodeContext, target reflect.Value)
mapper_test.go:96
MethodDecode
(ctx *kong.DecodeContext)
mapper_test.go:252
MethodDecode
(ctx *kong.DecodeContext, target reflect.Value)
mapper_test.go:760
MethodDecode
(ctx *kong.DecodeContext, target reflect.Value)
mapper_test.go:796
MethodDecode
(ctx *kong.DecodeContext)
mapper_test.go:827
MethodDecode
(ctx *kong.DecodeContext)
resolver_test.go:158
MethodDecode
(ctx *kong.DecodeContext, target reflect.Value)
resolver_test.go:325
MethodDecode
(ctx *DecodeContext)
mapper.go:47
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:60
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:73
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:87
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:101
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:145
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:298
MethodDecode
(ctx *DecodeContext, target reflect.Value)
mapper.go:776
MethodDecode
(ctx *DecodeContext)
mapper.go:899
MethodDecode
(ctx *DecodeContext)
mapper.go:923
MethodDecode
Decode is used to create a side effect of changing the current working directory.
util.go:48
MethodDecode
(ctx *kong.DecodeContext)
_examples/docker/main.go:25
FunctionDefaultHelpPrinter
DefaultHelpPrinter is the default HelpPrinter.
help.go:128
FunctionDefaultHelpValueFormatter
DefaultHelpValueFormatter is the default HelpValueFormatter.
help.go:97
FunctionDefaultShortHelpPrinter
DefaultShortHelpPrinter is the default HelpPrinter for short help on error.
help.go:113
MethodDepth
Depth of the command from the application root.
model.go:148
FunctionEmbed
Embed a struct into the root of the CLI. "strct" must be a pointer to a structure.
options.go:76
MethodError
()
options_test.go:188
MethodError
()
scanner.go:165
MethodExitCode
ExitCode returns the status that Kong should exit with if it fails with a ParseError.
error.go:16
FunctionExplicitGroups
ExplicitGroups associates `group` field tags with their metadata. It can be used to provide a title or header to a command or flag group.
options.go:383
MethodFind
Find a command/argument/flag by pointer to its field. Returns nil if not found. Panics if ptr is not a pointer.
model.go:72
MethodFlags
Flags returns the accumulated available flags.
context.go:295
MethodGetBool
GetBool returns true if the given tag looks like a boolean truth string.
tag.go:372
MethodGetFloat
GetFloat parses the given tag as a float64.
tag.go:377
MethodGetInt
GetInt parses the given tag as an int64.
tag.go:382
FunctionHelp
Help printer to use.
options.go:291
MethodHelp
()
help_test.go:30
MethodHelp
()
help_test.go:871
MethodHelp
()
_examples/shell/help/main.go:26
MethodHelp
()
_examples/shell/help/main.go:34
FunctionHelpFormatter
HelpFormatter configures how the help text is formatted. Deprecated: Use ValueFormatter() instead.
options.go:312
MethodIgnoreDefault
()
help.go:19
MethodIgnoreDefault
()
context.go:589
MethodIsBool
()
mapper_test.go:104
MethodIsBool
()
mapper.go:53
MethodIsBool
()
mapper.go:67
MethodIsBool
()
mapper.go:326
MethodIsBool
()
_examples/docker/main.go:26
MethodIsBoolFromValue
IsBoolFromValue implements BoolMapperExt
mapper.go:761
FunctionKindMapper
KindMapper registers a mapper to a kind.
options.go:191
MethodLeaf
Leaf returns true if this Node is a leaf node.
model.go:65
FunctionLineIndenter
LineIndenter adds line points to every new indent.
help.go:565
MethodMethod
()
options_test.go:25
MethodPlaceHolder
(flag *kong.Flag)
mapper_test.go:765
MethodPopUntil
PopUntil predicate returns true.
scanner.go:200
MethodProvideFoo
()
kong_test.go:2643
MethodPush
Push an untyped Token onto the front of the Scanner.
scanner.go:221
MethodReset
Reset recursively resets values to defaults (as specified in the grammar) or the zero value.
context.go:345
MethodResolve
(context *kong.Context, parent *kong.Path, flag *kong.Flag)
resolver_test.go:455
MethodResolve
(context *Context, parent *Path, flag *Flag)
resolver.go:25
MethodResolve
Resolve walks through the traced path, applying resolvers to any unset flags.
context.go:612
MethodRun
()
kong_test.go:384
MethodRun
(key string)
kong_test.go:771
MethodRun
(key string)
kong_test.go:786
MethodRun
()
kong_test.go:825
MethodRun
()
kong_test.go:1748
MethodRun
()
kong_test.go:1755
MethodRun
()
kong_test.go:2615
MethodRun
(t *testing.T, ps ProvidedString)
kong_test.go:2647
MethodRun
()
kong_test.go:2734
MethodRun
(name string)
kong_test.go:2858
MethodRun
(ctx *kong.Context)
_examples/server/console.go:25
MethodRun
Run shows help.
_examples/server/console.go:35
MethodRun
(globals *Globals)
_examples/docker/commands.go:14
MethodRun
(globals *Globals)
_examples/docker/commands.go:25
MethodRun
(globals *Globals)
_examples/docker/commands.go:33
MethodRun
(globals *Globals)
_examples/docker/commands.go:49
MethodRun
(globals *Globals)
_examples/docker/commands.go:57
MethodRun
(globals *Globals)
_examples/docker/commands.go:65
MethodRun
(globals *Globals)
_examples/docker/commands.go:73
MethodRun
(globals *Globals)
_examples/docker/commands.go:81
MethodRun
(globals *Globals)
_examples/docker/commands.go:89
MethodRun
(globals *Globals)
_examples/docker/commands.go:97
MethodRun
(globals *Globals)
_examples/docker/commands.go:105
MethodRun
(globals *Globals)
_examples/docker/commands.go:113
MethodRun
(globals *Globals)
_examples/docker/commands.go:121
MethodRun
(globals *Globals)
_examples/docker/commands.go:129
MethodRun
(globals *Globals)
_examples/docker/commands.go:137
MethodRun
(globals *Globals)
_examples/docker/commands.go:145
MethodRun
(globals *Globals)
_examples/docker/commands.go:153
MethodRun
(globals *Globals)
_examples/docker/commands.go:161
MethodRun
(globals *Globals)
_examples/docker/commands.go:169
MethodRun
(globals *Globals)
_examples/docker/commands.go:177
MethodRun
(globals *Globals)
_examples/docker/commands.go:185
MethodRun
(globals *Globals)
_examples/docker/commands.go:193
MethodRun
(globals *Globals)
_examples/docker/commands.go:201
MethodRun
(globals *Globals)
_examples/docker/commands.go:209
MethodRun
(globals *Globals)
_examples/docker/commands.go:217
MethodRun
(globals *Globals)
_examples/docker/commands.go:225
MethodRun
(globals *Globals)
_examples/docker/commands.go:233
MethodRun
(globals *Globals)
_examples/docker/commands.go:241
MethodRun
(globals *Globals)
_examples/docker/commands.go:249
← previousnext →301–400 of 738, ranked by callers