mirror of
https://github.com/go-task/task.git
synced 2026-07-07 14:09:11 +00:00
display dependend tasks
This commit is contained in:
7
task.go
7
task.go
@@ -95,6 +95,13 @@ func (e *Executor) printTaskDetails(task string) {
|
||||
Logger := e.Logger
|
||||
displayTaskDetailedDescription(s, Logger)
|
||||
|
||||
e.Logger.Outf("")
|
||||
e.Logger.Outf("dependencies:")
|
||||
|
||||
for _, d := range t.Deps {
|
||||
e.Logger.Outf(" - %s", d.Task)
|
||||
}
|
||||
|
||||
e.Logger.Outf("")
|
||||
e.Logger.Outf("commands:")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user