diff --git a/pkg/cli/cmd.go b/pkg/cli/cmd.go index 8fc98d3..fba94ea 100644 --- a/pkg/cli/cmd.go +++ b/pkg/cli/cmd.go @@ -184,8 +184,8 @@ var rootCmd = &cobra.Command{ var lsCmd = &cobra.Command{ Use: "ls", - Short: "List existing conversations", - Long: `List all existing conversations in descending order of recent activity.`, + Short: "List conversations", + Long: `List conversations in order of recent activity`, Run: func(cmd *cobra.Command, args []string) { conversations, err := store.Conversations() if err != nil { @@ -330,7 +330,7 @@ var rmCmd = &cobra.Command{ var cloneCmd = &cobra.Command{ Use: "clone ", - Short: "Clone conversations.", + Short: "Clone conversations", Long: `Clones the provided conversation.`, Args: func(cmd *cobra.Command, args []string) error { argCount := 1 @@ -376,7 +376,6 @@ var cloneCmd = &cobra.Command{ } fmt.Printf("Cloned %d messages to: %s\n", messageCnt, clone.Title) - return nil }, ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { @@ -466,7 +465,7 @@ var renameCmd = &cobra.Command{ var replyCmd = &cobra.Command{ Use: "reply [message]", - Short: "Send a reply to a conversation", + Short: "Reply to a conversation", Long: `Sends a reply to conversation and writes the response to stdout.`, Args: func(cmd *cobra.Command, args []string) error { argCount := 1 @@ -574,7 +573,7 @@ var promptCmd = &cobra.Command{ var retryCmd = &cobra.Command{ Use: "retry ", - Short: "Retries the last conversation prompt.", + Short: "Retry the last user reply in a conversation", Long: `Re-prompt the conversation up to the last user response. Can be used to regenerate the last assistant reply, or simply generate one if an error occurred.`, Args: func(cmd *cobra.Command, args []string) error { argCount := 1 @@ -618,7 +617,7 @@ var retryCmd = &cobra.Command{ var continueCmd = &cobra.Command{ Use: "continue ", - Short: "Continues where the previous prompt left off.", + Short: "Continue a conversation from the last message", Long: `Re-prompt the conversation with all existing prompts. Useful if a reply was cut short.`, Args: func(cmd *cobra.Command, args []string) error { argCount := 1 @@ -643,7 +642,7 @@ var continueCmd = &cobra.Command{ var editCmd = &cobra.Command{ Use: "edit ", - Short: "Edit the last user message in a conversation.", + Short: "Edit the last user reply in a conversation", Args: func(cmd *cobra.Command, args []string) error { argCount := 1 if err := cobra.MinimumNArgs(argCount)(cmd, args); err != nil {