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

Interface AfterApply

hooks.go:22–25  ·  view source on GitHub ↗

AfterApply is a documentation-only interface describing hooks that run after values are set.

Source from the content-addressed store, hash-verified

20
21// AfterApply is a documentation-only interface describing hooks that run after values are set.
22type AfterApply interface {
23 // This is not the correct signature - see README for details.
24 AfterApply(args ...any) error
25}
26
27// AfterRun is a documentation-only interface describing hooks that run after Run() returns.
28type AfterRun interface {

Callers

nothing calls this directly

Implementers 8

hookCmdkong_test.go
commandWithHookkong_test.go
cliWithHookkong_test.go
EmbeddedCallbackkong_test.go
NestedCallbackkong_test.go
EmbeddedRootkong_test.go
applyCalledOncekong_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…