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

Function parseDependsOn

apps/cli/internal/cli/add.go:325–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323}
324
325func parseDependsOn() []string {
326 if addDependsOn == "" {
327 return nil
328 }
329 parts := strings.Split(addDependsOn, ",")
330 var deps []string
331 for _, p := range parts {
332 p = strings.TrimSpace(p)
333 if p != "" {
334 deps = append(deps, p)
335 }
336 }
337 return deps
338}
339
340func formatDependencies(deps []string) string {
341 if len(deps) == 0 {

Callers 2

buildTemplateOverridesFunction · 0.85
buildTaskFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected