note.go

 1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
 2//
 3// SPDX-License-Identifier: AGPL-3.0-or-later
 4
 5// Package note provides commands for managing Lunatask notes.
 6package note
 7
 8import "github.com/spf13/cobra"
 9
10// Cmd is the parent command for note operations.
11var Cmd = &cobra.Command{
12	Use:     "note",
13	Short:   "Manage notes",
14	GroupID: "resources",
15}
16
17func init() {
18	Cmd.AddCommand(AddCmd)
19	Cmd.AddCommand(ListCmd)
20	Cmd.AddCommand(GetCmd)
21	Cmd.AddCommand(UpdateCmd)
22	Cmd.AddCommand(DeleteCmd)
23}