// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

// Package task provides commands for managing Lunatask tasks.
package task

import "github.com/spf13/cobra"

// Cmd is the parent command for task operations.
var Cmd = &cobra.Command{
	Use:     "task",
	Short:   "Manage tasks",
	GroupID: "resources",
}

func init() {
	Cmd.AddCommand(AddCmd)
	Cmd.AddCommand(ListCmd)
	Cmd.AddCommand(ShowCmd)
	Cmd.AddCommand(UpdateCmd)
	Cmd.AddCommand(DeleteCmd)
}
