()
| 82 | } |
| 83 | |
| 84 | func (c *WriteCommand) Flags() *FlagSets { |
| 85 | set := c.flagSet(FlagSetHTTP | FlagSetOutputField | FlagSetOutputFormat) |
| 86 | f := set.NewFlagSet("Command Options") |
| 87 | |
| 88 | f.BoolVar(&BoolVar{ |
| 89 | Name: "force", |
| 90 | Aliases: []string{"f"}, |
| 91 | Target: &c.flagForce, |
| 92 | Default: false, |
| 93 | EnvVar: "", |
| 94 | Completion: complete.PredictNothing, |
| 95 | Usage: "Allow the operation to continue with no key=value pairs. This " + |
| 96 | "allows writing to keys that do not need or expect data.", |
| 97 | }) |
| 98 | |
| 99 | return set |
| 100 | } |
| 101 | |
| 102 | func (c *WriteCommand) AutocompleteArgs() complete.Predictor { |
| 103 | // Return an anything predictor here. Without a way to access help |
no test coverage detected