mirror of
https://github.com/go-task/task.git
synced 2026-07-02 08:58:41 +00:00
refactor: wrap PrintTasksHelp with arg-less signatures
provide exported methods for accessing PrintTasksHelp variants.
This commit is contained in:
@@ -150,8 +150,12 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
if list || listAll {
|
||||
e.PrintTasksHelp(listAll)
|
||||
if list {
|
||||
e.ListTasksWithDesc()
|
||||
}
|
||||
|
||||
if listAll {
|
||||
e.ListAllTasks()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user