package cmd import ( "fmt" "github.com/spf13/cobra" "os" // TODO: // "encoding/json" // "fmt" // "log" // "nvd/internal/cvss" // "nvd/internal/feed" // "os" ) var rootCmd = &cobra.Command{ Use: "cvez", Short: "CVE utility tool.", Long: ` A Common Vulnerability (CVE), Common Platform Enumeration (CPE), Common Vulnerability Scoring System (CVSS), and National Vulnerability Database (NVD) feed parser. `, Run: func(cmd *cobra.Command, args []string) { // Do Stuff Here }, } func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Println(err) os.Exit(1) } }