NewDeployCommand creates a new deploy command.
()
| 97 | |
| 98 | // NewDeployCommand creates a new deploy command. |
| 99 | func 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 | |
| 106 | func (c *DeployCommand) Initialize(name string, cliConnection plugin.CliConnection) { |
| 107 | c.BaseCommand.Initialize(name, cliConnection) |
no test coverage detected