summaryrefslogtreecommitdiff
path: root/internal/commands/add.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/add.go')
-rw-r--r--internal/commands/add.go19
1 files changed, 19 insertions, 0 deletions
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
+}
+