MCPcopy
hub / github.com/cloudfoundry/cli / dumpOutput

Function dumpOutput

fixtures/plugins/call_core_cmd/call_core_cmd.go:35–42  ·  view source on GitHub ↗
(output []string)

Source from the content-addressed store, hash-verified

33}
34
35func dumpOutput(output []string) {
36 fmt.Println("")
37 fmt.Println("---------- Command output from the plugin ----------")
38 for index, val := range output {
39 fmt.Print("#", index, " value: ", val)
40 }
41 fmt.Println("---------- FIN -----------")
42}
43
44func (c *CoreCmd) Run(cliConnection plugin.CliConnection, args []string) {
45 if args[0] == "core-command" {

Callers 1

RunMethod · 0.85

Calls 2

PrintlnMethod · 0.65
PrintMethod · 0.65

Tested by

no test coverage detected