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

Function formatDependencies

apps/cli/internal/cli/add.go:340–349  ·  view source on GitHub ↗
(deps []string)

Source from the content-addressed store, hash-verified

338}
339
340func formatDependencies(deps []string) string {
341 if len(deps) == 0 {
342 return "dependencies: []"
343 }
344 quoted := make([]string, len(deps))
345 for i, d := range deps {
346 quoted[i] = `"` + d + `"`
347 }
348 return "dependencies: [" + strings.Join(quoted, ", ") + "]"
349}
350
351func outputAddResult(id, title, filePath string) error {
352 switch addFormat {

Callers 2

buildTemplateOverridesFunction · 0.85
buildTaskFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected