InitializeAll initializes the command with the specified name, CLI connection, transport, client & token factories and deploy service URL calculator.
(name string, cliConnection plugin.CliConnection, transport http.RoundTripper, clientFactory clients.ClientFactory, tokenFactory baseclient.TokenFactory, deployServiceURLCalculator util.DeployServiceURLCalculator)
| 73 | |
| 74 | // InitializeAll initializes the command with the specified name, CLI connection, transport, client & token factories and deploy service URL calculator. |
| 75 | func (c *BaseCommand) InitializeAll(name string, cliConnection plugin.CliConnection, transport http.RoundTripper, clientFactory clients.ClientFactory, tokenFactory baseclient.TokenFactory, deployServiceURLCalculator util.DeployServiceURLCalculator) { |
| 76 | c.name = name |
| 77 | c.cliConnection = cliConnection |
| 78 | c.transport = transport |
| 79 | c.clientFactory = clientFactory |
| 80 | c.tokenFactory = tokenFactory |
| 81 | c.deployServiceURLCalculator = deployServiceURLCalculator |
| 82 | } |
| 83 | |
| 84 | // Usage reports incorrect command usage |
| 85 | func (c *BaseCommand) Usage(message string) { |
no outgoing calls
no test coverage detected