add ls flags to root

This commit is contained in:
fiplox 2022-09-11 10:50:31 +02:00
parent b5db233263
commit f264c8d8d3
1 changed files with 3 additions and 0 deletions

View File

@ -44,4 +44,7 @@ func Execute() {
}
func init() {
rootCmd.Flags().BoolP("all", "a", false, "show all todos")
rootCmd.Flags().BoolP("completed", "c", false, "show all completed todos")
rootCmd.Flags().BoolP("verbose", "v", false, "show all fields of todos")
}