this repo has no description
at main 343 B view raw
1package parser 2 3import ( 4 "fmt" 5 "os" 6) 7 8func main() { 9 if len(os.Args) < 2 { 10 fmt.Println("Please provide a Taskwarrior add command to parse") 11 return 12 } 13 14 input := os.Args[1] 15 result, err := Parse("", []byte(input)) 16 if err != nil { 17 fmt.Printf("Error parsing input: %v\n", err) 18 return 19 } 20 21 fmt.Printf("Parsed result: %+v\n", result) 22}