first commit

This commit is contained in:
Robin Olsen
2026-01-31 16:00:23 +01:00
commit a3a1d71325
23 changed files with 614 additions and 0 deletions

24
cmd/cli/commands/root.go Normal file
View File

@@ -0,0 +1,24 @@
package commands
import (
"beadstest/internal/service"
"github.com/spf13/cobra"
)
var svc *service.Service
var rootCmd = &cobra.Command{
Use: "pm",
Short: "Project Management CLI",
Long: `Project Management CLI for managing issues and tasks.`,
}
func Execute(beadsService *service.Service) error {
svc = beadsService
return rootCmd.Execute()
}
func init() {
rootCmd.AddCommand(createCmd)
}