quickly print task names only with flags --silent and --list

This commit is contained in:
ardnew
2021-07-01 16:05:46 -05:00
parent a018997ddc
commit 978a6e5ecb
3 changed files with 50 additions and 2 deletions

View File

@@ -158,6 +158,10 @@ func main() {
OutputStyle: output,
}
if list && silent {
e.PrintTaskNames()
return
}
if err := e.Setup(); err != nil {
log.Fatal(err)
}