MCPcopy
hub / github.com/alecthomas/kong / HelpProvider

Interface HelpProvider

help.go:73–76  ·  view source on GitHub ↗

HelpProvider can be implemented by commands/args to provide detailed help.

Source from the content-addressed store, hash-verified

71
72// HelpProvider can be implemented by commands/args to provide detailed help.
73type HelpProvider interface {
74 // This string is formatted by go/doc and thus has the same formatting rules.
75 Help() string
76}
77
78// PlaceHolderProvider can be implemented by mappers to provide custom placeholder text.
79type PlaceHolderProvider interface {

Callers 2

buildFunction · 0.65
buildChildFunction · 0.65

Implementers 4

threeArghelp_test.go
rootHelpProviderhelp_test.go
commandWithHelp_examples/shell/help/main.go
argumentWithHelp_examples/shell/help/main.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…