MCPcopy Index your code
hub / github.com/coder/coder / attach

Method attach

cli/exp_scaletest.go:312–320  ·  view source on GitHub ↗
(opts *serpent.OptionSet)

Source from the content-addressed store, hash-verified

310}
311
312func (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
322func (s *scaletestOutputFlags) parse() ([]scaleTestOutput, error) {
323 var stdoutFormat scaleTestOutputFormat

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected