refactor: wrap PrintTasksHelp with arg-less signatures

provide exported methods for accessing PrintTasksHelp variants.
This commit is contained in:
Kevin Ard
2022-01-03 12:12:18 -05:00
parent 347c796662
commit 42702e81b3
4 changed files with 23 additions and 9 deletions

View File

@@ -150,8 +150,12 @@ func main() {
return
}
if list || listAll {
e.PrintTasksHelp(listAll)
if list {
e.ListTasksWithDesc()
}
if listAll {
e.ListAllTasks()
return
}