(opts *serpent.OptionSet)
| 310 | } |
| 311 | |
| 312 | func (s *scaletestOutputFlags) attach(opts *serpent.OptionSet) { |
| 313 | *opts = append(*opts, serpent.Option{ |
| 314 | Flag: "output", |
| 315 | Env: "CODER_SCALETEST_OUTPUTS", |
| 316 | Description: `Output format specs in the format "<format>[:<path>]". Not specifying a path will default to stdout. Available formats: text, json.`, |
| 317 | Default: "text", |
| 318 | Value: serpent.StringArrayOf(&s.outputSpecs), |
| 319 | }) |
| 320 | } |
| 321 | |
| 322 | func (s *scaletestOutputFlags) parse() ([]scaleTestOutput, error) { |
| 323 | var stdoutFormat scaleTestOutputFormat |
no outgoing calls
no test coverage detected