Make --init generate .yml instead of .yaml (#1062)

This commit is contained in:
Misite Bao
2023-03-17 08:53:01 +08:00
committed by GitHub
parent 291ee123c9
commit 15ef1fa1c2
6 changed files with 19 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ func main() {
pflag.BoolVar(&versionFlag, "version", false, "Show Task version.")
pflag.BoolVarP(&helpFlag, "help", "h", false, "Shows Task usage.")
pflag.BoolVarP(&init, "init", "i", false, "Creates a new Taskfile.yaml in the current folder.")
pflag.BoolVarP(&init, "init", "i", false, "Creates a new Taskfile.yml in the current folder.")
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.")
pflag.BoolVarP(&listJson, "json", "j", false, "Formats task list as JSON.")