func Execute(version string) {
	rootCmd.Version = version
	if err := rootCmd.Execute(); err != nil {
		os.Exit(1)
	}
}
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
package cmd
import (
	"os"
	config "github.com/fzipi/go-ftw/config"
	"github.com/rs/zerolog"
	"github.com/spf13/cobra"
)
var (
	cfgFile string
	debug   bool
	trace   bool
)
var rootCmd = &cobra.Command{
	Use:   "ftw run",
	Short: "Framework for Testing WAFs - Go Version",
}