1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
2//
3// SPDX-License-Identifier: AGPL-3.0-or-later
4
5package t
6
7import (
8 "fmt"
9
10 "github.com/spf13/cobra"
11)
12
13var TCmd = &cobra.Command{
14 Use: "t",
15 Short: "Task commands",
16 Long: `Manage session tasks`,
17 Run: func(cmd *cobra.Command, args []string) {
18 fmt.Println("[STUB] Display remaining tasks and descriptions")
19 fmt.Println("Legend: ☐ pending ⟳ in progress ☑ completed")
20 fmt.Println("☐ Example pending task [a1b2c3d4]")
21 fmt.Println(" Example task description")
22 fmt.Println("⟳ Example in-progress task [e5f6g7h8]")
23 fmt.Println(" Another task description")
24 },
25}
26
27func init() {
28 TCmd.Flags().StringP("status", "s", "all", "Filter tasks by status (pending, in_progress, completed, all, etc.)")
29}