package cmd import ( "fmt" "git.db.org.ai/dborg/internal/utils" "github.com/spf13/cobra" ) var versionCmd = &cobra.Command{ Use: "version", Short: "Print the version number of dborg", Long: `Display the current version of the dborg CLI`, Run: func(cmd *cobra.Command, args []string) { fmt.Printf("dborg version %s\n", utils.Version) }, } func init() { rootCmd.AddCommand(versionCmd) }