refactor(task): rename get to show for consistency

Amolith created

Assisted-by: Claude Sonnet 4 via Crush

Change summary

cmd/task/show.go | 14 +++++++-------
cmd/task/task.go |  2 +-
2 files changed, 8 insertions(+), 8 deletions(-)

Detailed changes

cmd/task/get.go → cmd/task/show.go 🔗

@@ -11,10 +11,10 @@ import (
 	"github.com/spf13/cobra"
 )
 
-// GetCmd retrieves a task by ID. Exported for potential use by shortcuts.
-var GetCmd = &cobra.Command{
-	Use:   "get ID",
-	Short: "Get a task by ID or reference",
+// ShowCmd displays a task by ID. Exported for potential use by shortcuts.
+var ShowCmd = &cobra.Command{
+	Use:   "show ID",
+	Short: "Show task details",
 	Args:  cobra.ExactArgs(1),
 	RunE: func(cmd *cobra.Command, args []string) error {
 		id, err := validate.Reference(args[0])
@@ -22,13 +22,13 @@ var GetCmd = &cobra.Command{
 			return err
 		}
 
-		// TODO: implement task get
-		fmt.Fprintf(cmd.OutOrStdout(), "Getting task %s (not yet implemented)\n", id)
+		// TODO: implement task show
+		fmt.Fprintf(cmd.OutOrStdout(), "Showing task %s (not yet implemented)\n", id)
 
 		return nil
 	},
 }
 
 func init() {
-	GetCmd.Flags().Bool("json", false, "Output as JSON")
+	ShowCmd.Flags().Bool("json", false, "Output as JSON")
 }

cmd/task/task.go 🔗

@@ -17,7 +17,7 @@ var Cmd = &cobra.Command{
 func init() {
 	Cmd.AddCommand(AddCmd)
 	Cmd.AddCommand(ListCmd)
-	Cmd.AddCommand(GetCmd)
+	Cmd.AddCommand(ShowCmd)
 	Cmd.AddCommand(UpdateCmd)
 	Cmd.AddCommand(DeleteCmd)
 }