mirror of
https://github.com/go-task/task.git
synced 2026-07-07 22:18:47 +00:00
quickly print task names only with flags --silent and --list
This commit is contained in:
@@ -158,6 +158,10 @@ func main() {
|
||||
|
||||
OutputStyle: output,
|
||||
}
|
||||
if list && silent {
|
||||
e.PrintTaskNames()
|
||||
return
|
||||
}
|
||||
if err := e.Setup(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user