MCPcopy
hub / github.com/go-task/task / printTaskAliases

Function printTaskAliases

internal/summary/summary.go:72–82  ·  view source on GitHub ↗
(l *logger.Logger, t *ast.Task)

Source from the content-addressed store, hash-verified

70}
71
72func printTaskAliases(l *logger.Logger, t *ast.Task) {
73 if len(t.Aliases) == 0 {
74 return
75 }
76 l.Outf(logger.Default, "\n")
77 l.Outf(logger.Default, "aliases:\n")
78 for _, alias := range t.Aliases {
79 l.Outf(logger.Default, " - ")
80 l.Outf(logger.Cyan, "%s\n", alias)
81 }
82}
83
84func hasDescription(t *ast.Task) bool {
85 return t.Desc != ""

Callers 1

PrintTaskFunction · 0.85

Calls 1

OutfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…