MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / BaseCommand

Struct BaseCommand

commands/base_command.go:48–59  ·  view source on GitHub ↗

BaseCommand represents a base command

Source from the content-addressed store, hash-verified

46
47// BaseCommand represents a base command
48type BaseCommand struct {
49 Command
50 flagsParser FlagsParser
51 flagsValidator FlagsValidator
52
53 name string
54 cliConnection plugin.CliConnection
55 transport http.RoundTripper
56 clientFactory clients.ClientFactory
57 tokenFactory baseclient.TokenFactory
58 deployServiceURLCalculator util.DeployServiceURLCalculator
59}
60
61// Initialize initializes the command with the specified name and CLI connection
62func (c *BaseCommand) Initialize(name string, cliConnection plugin.CliConnection) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected