summaryrefslogtreecommitdiff
path: root/internal/commands/add.go
blob: 7b43f67fc64a4c140946cb3efceeeaa5212c1ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package commands

import (
	"github.com/spf13/cobra"
)

func NewAddCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "add",
		Short: "Add new entities to the database",
		Long:  "Add new clients, projects, or other entities to the punchcard database.",
	}

	cmd.AddCommand(NewAddClientCmd())
	cmd.AddCommand(NewAddProjectCmd())

	return cmd
}