MCPcopy Create free account
hub / github.com/driangle/taskmd / outputStatusline

Function outputStatusline

apps/cli/internal/cli/status.go:219–228  ·  view source on GitHub ↗
(tasks []*model.Task, w io.Writer)

Source from the content-addressed store, hash-verified

217}
218
219func outputStatusline(tasks []*model.Task, w io.Writer) error {
220 task := tasks[0]
221 line := fmt.Sprintf("#%s %s", task.ID, task.Title)
222 if len(tasks) > 1 {
223 line += fmt.Sprintf(" (+%d more)", len(tasks)-1)
224 }
225
226 fmt.Fprintln(w, line)
227 return nil
228}
229
230func outputStatusListText(outputs []statusOutput, w io.Writer) error {
231 for i, out := range outputs {

Callers 1

runStatusListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected