mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
feat: getting starting with a tui
This commit is contained in:
@@ -44,6 +44,7 @@ var (
|
||||
Version bool
|
||||
Help bool
|
||||
Init bool
|
||||
TUI bool
|
||||
Completion string
|
||||
List bool
|
||||
ListAll bool
|
||||
@@ -111,6 +112,7 @@ func init() {
|
||||
pflag.BoolVar(&Version, "version", false, "Show Task version.")
|
||||
pflag.BoolVarP(&Help, "help", "h", false, "Shows Task usage.")
|
||||
pflag.BoolVarP(&Init, "init", "i", false, "Creates a new Taskfile.yml in the current folder.")
|
||||
pflag.BoolVarP(&TUI, "tui", "T", false, "Runs Task in TUI mode.")
|
||||
pflag.StringVar(&Completion, "completion", "", "Generates shell completion script.")
|
||||
pflag.BoolVarP(&List, "list", "l", false, "Lists tasks with description of current Taskfile.")
|
||||
pflag.BoolVarP(&ListAll, "list-all", "a", false, "Lists tasks with or without a description.")
|
||||
|
Reference in New Issue
Block a user