Renamed lmcli view to lmcli show

This commit is contained in:
Matt Low 2023-11-14 02:10:37 +00:00
parent 90d85e676d
commit a8b7bd7662

View File

@ -159,9 +159,9 @@ var rmCmd = &cobra.Command{
}, },
} }
var viewCmd = &cobra.Command{ var showCmd = &cobra.Command{
Use: "view [conversation]", Use: "show [conversation]",
Short: "View messages in a conversation", Short: "Show messages in a conversation",
Long: `Finds a conversation by its short name and displays its contents.`, Long: `Finds a conversation by its short name and displays its contents.`,
Args: func(cmd *cobra.Command, args []string) error { Args: func(cmd *cobra.Command, args []string) error {
argCount := 1 argCount := 1
@ -395,7 +395,7 @@ func NewRootCmd() *cobra.Command {
promptCmd, promptCmd,
replyCmd, replyCmd,
rmCmd, rmCmd,
viewCmd, showCmd,
) )
return rootCmd return rootCmd
} }