MCPcopy
hub / github.com/go-task/task / PrintExperiments

Method PrintExperiments

internal/logger/logger.go:219–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217}
218
219func (l *Logger) PrintExperiments() error {
220 w := tabwriter.NewWriter(l.Stdout, 0, 8, 0, ' ', 0)
221 for _, x := range experiments.List() {
222 if !x.Active() {
223 continue
224 }
225 l.FOutf(w, Yellow, "* ")
226 l.FOutf(w, Green, x.Name)
227 l.FOutf(w, Default, ": \t%s\n", x.String())
228 }
229 return w.Flush()
230}

Callers 1

runFunction · 0.95

Calls 4

FOutfMethod · 0.95
ListFunction · 0.92
ActiveMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected