mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
feat: getting starting with a tui
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
"github.com/go-task/task/v3/internal/filepathext"
|
||||
"github.com/go-task/task/v3/internal/flags"
|
||||
"github.com/go-task/task/v3/internal/logger"
|
||||
"github.com/go-task/task/v3/internal/tui"
|
||||
"github.com/go-task/task/v3/internal/version"
|
||||
"github.com/go-task/task/v3/taskfile/ast"
|
||||
)
|
||||
@@ -101,6 +102,10 @@ func run() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if flags.TUI {
|
||||
return tui.Run()
|
||||
}
|
||||
|
||||
if flags.Completion != "" {
|
||||
script, err := task.Completion(flags.Completion)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user