From 8be5f93f5b2d4b6f438ca84094937a0f7101c59b Mon Sep 17 00:00:00 2001 From: T Date: Sat, 2 Aug 2025 17:25:59 -0600 Subject: Initial commit of punchcard. Contains working time tracking commands, and the stub of a command to generate reports. --- internal/commands/add.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 internal/commands/add.go (limited to 'internal/commands/add.go') diff --git a/internal/commands/add.go b/internal/commands/add.go new file mode 100644 index 0000000..7b43f67 --- /dev/null +++ b/internal/commands/add.go @@ -0,0 +1,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 +} + -- cgit v1.2.3