Add -a/-c shorthands for lmcli list --all/--count
This commit is contained in:
parent
2e3779ad32
commit
29519fa2f3
@ -115,8 +115,8 @@ func ListCmd(ctx *lmcli.Context) *cobra.Command {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.Flags().Bool("all", false, "Show all conversations")
|
cmd.Flags().BoolP("all", "a", false, "Show all conversations")
|
||||||
cmd.Flags().Int("count", LS_COUNT, "How many conversations to show")
|
cmd.Flags().IntP("count", "c", LS_COUNT, "How many conversations to show")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user