From 3a4b347d508e6a008b56d1a1294ccb0982f6660b Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Mon, 31 Oct 2022 17:16:12 +0000 Subject: [PATCH] feat: include aliases in --list --silent output --- help.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/help.go b/help.go index eed0a27c..f55c7821 100644 --- a/help.go +++ b/help.go @@ -102,6 +102,9 @@ func (e *Executor) ListTaskNames(allTasks bool) { for _, t := range e.Taskfile.Tasks { if (allTasks || t.Desc != "") && !t.Internal { s = append(s, strings.TrimRight(t.Task, ":")) + for _, alias := range t.Aliases { + s = append(s, strings.TrimRight(alias, ":")) + } } } // sort and print all task names