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

View File

@ -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
} }