MCPcopy
hub / github.com/spf13/cobra / preRun

Method preRun

command.go:1047–1051  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1045}
1046
1047func (c *Command) preRun() {
1048 for _, x := range initializers {
1049 x()
1050 }
1051}
1052
1053func (c *Command) postRun() {
1054 for _, x := range finalizers {

Callers 1

executeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected