MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewTaskOutputFormatter

Function NewTaskOutputFormatter

pkg/cmd/task/wait/task_output_formatter.go:27–31  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

25}
26
27func NewTaskOutputFormatter(out io.Writer) *TaskOutputFormatter {
28 return &TaskOutputFormatter{
29 out: out,
30 }
31}
32
33func (f *TaskOutputFormatter) PrintTaskInfo(t *tasks.Task) {
34 status := f.formatTaskStatus(t.State)

Callers 1

WaitRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected