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

Function outputGetJSON

apps/cli/internal/cli/get.go:587–589  ·  view source on GitHub ↗
(task *model.Task, deps dependencyInfo, ctxFiles []taskcontext.FileEntry, wl *worklogInfo, w io.Writer)

Source from the content-addressed store, hash-verified

585}
586
587func outputGetJSON(task *model.Task, deps dependencyInfo, ctxFiles []taskcontext.FileEntry, wl *worklogInfo, w io.Writer) error {
588 return WriteJSON(w, buildGetOutput(task, deps, ctxFiles, wl))
589}
590
591func outputGetYAML(task *model.Task, deps dependencyInfo, ctxFiles []taskcontext.FileEntry, wl *worklogInfo, w io.Writer) error {
592 return WriteYAML(w, buildGetOutput(task, deps, ctxFiles, wl))

Callers 1

outputGetFunction · 0.85

Calls 2

WriteJSONFunction · 0.85
buildGetOutputFunction · 0.70

Tested by

no test coverage detected