()
| 52 | } |
| 53 | |
| 54 | func (c *NamespacePatchCommand) Flags() *FlagSets { |
| 55 | set := c.flagSet(FlagSetHTTP | FlagSetOutputField | FlagSetOutputFormat) |
| 56 | |
| 57 | f := set.NewFlagSet("Command Options") |
| 58 | f.StringMapVar(&StringMapVar{ |
| 59 | Name: "custom-metadata", |
| 60 | Target: &c.flagCustomMetadata, |
| 61 | Default: map[string]string{}, |
| 62 | Usage: "Specifies arbitrary key=value metadata meant to describe a namespace." + |
| 63 | "This can be specified multiple times to add multiple pieces of metadata.", |
| 64 | }) |
| 65 | |
| 66 | f.StringSliceVar(&StringSliceVar{ |
| 67 | Name: "remove-custom-metadata", |
| 68 | Target: &c.flagRemoveCustomMetadata, |
| 69 | Default: []string{}, |
| 70 | Usage: "Key to remove from custom metadata. To specify multiple values, specify this flag multiple times.", |
| 71 | }) |
| 72 | |
| 73 | return set |
| 74 | } |
| 75 | |
| 76 | func (c *NamespacePatchCommand) AutocompleteArgs() complete.Predictor { |
| 77 | return complete.PredictNothing |
no test coverage detected