1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
2//
3// SPDX-License-Identifier: AGPL-3.0-or-later
4
5package cmd
6
7import (
8 "fmt"
9
10 "github.com/spf13/cobra"
11)
12
13var doneCmd = &cobra.Command{
14 Use: "done ID",
15 Short: "Mark a task as completed",
16 GroupID: "shortcuts",
17 Args: cobra.ExactArgs(1),
18 RunE: func(cmd *cobra.Command, args []string) error {
19 // TODO: implement as task update --status completed
20 fmt.Fprintf(cmd.OutOrStdout(), "Marking task %s as done (not yet implemented)\n", args[0])
21
22 return nil
23 },
24}