| 16 | } |
| 17 | |
| 18 | type SetLabelCommand struct { |
| 19 | BaseCommand |
| 20 | |
| 21 | RequiredArgs flag.SetLabelArgs `positional-args:"yes"` |
| 22 | relatedCommands interface{} `related_commands:"labels, unset-label"` |
| 23 | BuildpackStack string `long:"stack" short:"s" description:"Specify stack to disambiguate buildpacks with the same name"` |
| 24 | BuildpackLifecycle string `long:"lifecycle" short:"l" description:"Specify lifecycle to disambiguate buildpacks with the same name"` |
| 25 | ServiceBroker string `long:"broker" short:"b" description:"Specify a service broker to disambiguate service offerings or service plans with the same name."` |
| 26 | ServiceOffering string `long:"offering" short:"e" description:"Specify a service offering to disambiguate service plans with the same name."` |
| 27 | |
| 28 | LabelSetter LabelSetter |
| 29 | } |
| 30 | |
| 31 | func (cmd *SetLabelCommand) Setup(config command.Config, ui command.UI) error { |
| 32 | err := cmd.BaseCommand.Setup(config, ui) |
nothing calls this directly
no outgoing calls
no test coverage detected