github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/scripts/dbtool/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  
     7  	"github.com/fatih/color"
     8  
     9  	"github.com/pyroscope-io/pyroscope/scripts/dbtool/cmd"
    10  )
    11  
    12  func main() {
    13  	if err := cmd.Execute(); err != nil {
    14  		_, _ = fmt.Fprintln(os.Stderr, color.RedString("Error:"), err)
    15  		os.Exit(1)
    16  	}
    17  }