MCPcopy Create free account
hub / github.com/compozy/agh / taskBlockBundle

Function taskBlockBundle

internal/cli/task.go:3185–3195  ·  view source on GitHub ↗
(item TaskBlockRecord)

Source from the content-addressed store, hash-verified

3183}
3184
3185func taskBlockBundle(item TaskBlockRecord) outputBundle {
3186 return outputBundle{
3187 jsonValue: item,
3188 human: func() (string, error) {
3189 return renderHumanSection("Task Block", taskBlockKeyValues(item)), nil
3190 },
3191 toon: func() (string, error) {
3192 return renderToonObject("task_block", taskBlockToonFields(), taskBlockToonValues(item)), nil
3193 },
3194 }
3195}
3196
3197func taskBlockListBundle(items []TaskBlockRecord) outputBundle {
3198 return listBundle(

Callers 2

newTaskBlockCommandFunction · 0.85
newTaskUnblockCommandFunction · 0.85

Calls 5

renderHumanSectionFunction · 0.85
taskBlockKeyValuesFunction · 0.85
renderToonObjectFunction · 0.85
taskBlockToonFieldsFunction · 0.85
taskBlockToonValuesFunction · 0.85

Tested by

no test coverage detected