MCPcopy Index your code
hub / github.com/cloudfoundry/multiapps-cli-plugin / NewDeployCommand

Function NewDeployCommand

commands/deploy_command.go:99–104  ·  view source on GitHub ↗

NewDeployCommand creates a new deploy command.

()

Source from the content-addressed store, hash-verified

97
98// NewDeployCommand creates a new deploy command.
99func NewDeployCommand() *DeployCommand {
100 baseCmd := &BaseCommand{flagsParser: deployCommandLineArgumentsParser{}, flagsValidator: deployCommandFlagsValidator{}}
101 deployCmd := &DeployCommand{baseCmd, deployProcessParametersSetter(), &deployCommandProcessTypeProvider{}, os.Stdin, 30 * time.Second, nil}
102 baseCmd.Command = deployCmd
103 return deployCmd
104}
105
106func (c *DeployCommand) Initialize(name string, cliConnection plugin.CliConnection) {
107 c.BaseCommand.Initialize(name, cliConnection)

Callers 2

Calls 1

Tested by

no test coverage detected