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

Function NewMtaCommand

commands/mta_command.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func NewMtaCommand() *MtaCommand {
28 baseCmd := &BaseCommand{flagsParser: NewDefaultCommandFlagsParser([]string{"MTA_ID"}), flagsValidator: NewDefaultCommandFlagsValidator(nil)}
29 mtaCmd := &MtaCommand{BaseCommand: baseCmd}
30 baseCmd.Command = mtaCmd
31 return mtaCmd
32}
33
34func (c *MtaCommand) Initialize(name string, cliConnection plugin.CliConnection) {
35 c.BaseCommand.Initialize(name, cliConnection)

Callers 2

Tested by

no test coverage detected