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

Function NewUndeployCommand

commands/undeploy_command.go:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func NewUndeployCommand() *UndeployCommand {
25 baseCmd := &BaseCommand{flagsParser: NewProcessActionExecutorCommandArgumentsParser([]string{"MTA_ID"}), flagsValidator: NewDefaultCommandFlagsValidator(nil)}
26 undeployCmd := &UndeployCommand{baseCmd, &undeployCommandProcessTypeProvider{}}
27 baseCmd.Command = undeployCmd
28 return undeployCmd
29}
30
31// GetPluginCommand returns the plugin command details
32func (c *UndeployCommand) GetPluginCommand() plugin.Command {

Callers 2

Tested by

no test coverage detected