MCPcopy Create free account
hub / github.com/Facets-cloud/flow / printOwnerTaskSection

Function printOwnerTaskSection

internal/app/owner.go:185–194  ·  view source on GitHub ↗
(label string, tasks []*flowdb.Task)

Source from the content-addressed store, hash-verified

183}
184
185func printOwnerTaskSection(label string, tasks []*flowdb.Task) {
186 if len(tasks) == 0 {
187 fmt.Printf("%s: (none)\n", label)
188 return
189 }
190 fmt.Printf("%s:\n", label)
191 for _, tk := range tasks {
192 fmt.Printf(" - %-30s [%s]\n", tk.Slug, tk.Status)
193 }
194}
195
196// ownerRetire implements `flow owner retire <slug> [--delete]`. Graceful
197// retire (default) marks the owner status='retired' + archived: it stops

Callers 1

ownerShowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected