Add -a/-c shorthands for `lmcli list --all/--count`

This commit is contained in:
Matt Low 2024-03-30 20:50:20 -06:00
parent 2e3779ad32
commit 29519fa2f3
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,8 @@ func ListCmd(ctx *lmcli.Context) *cobra.Command {
},
}
cmd.Flags().Bool("all", false, "Show all conversations")
cmd.Flags().Int("count", LS_COUNT, "How many conversations to show")
cmd.Flags().BoolP("all", "a", false, "Show all conversations")
cmd.Flags().IntP("count", "c", LS_COUNT, "How many conversations to show")
return cmd
}