From 29519fa2f3076a8447676232e5d8cb81df3810b8 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Sat, 30 Mar 2024 20:50:20 -0600 Subject: [PATCH] Add -a/-c shorthands for `lmcli list --all/--count` --- pkg/cmd/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/list.go b/pkg/cmd/list.go index ef15b84..317deac 100644 --- a/pkg/cmd/list.go +++ b/pkg/cmd/list.go @@ -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 }