add ls flags to root
This commit is contained in:
parent
b5db233263
commit
f264c8d8d3
@ -44,4 +44,7 @@ func Execute() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user