func Execute() {
	if err := RootCmd.Execute(); err != nil {
		log.Fatal("failed to run root command")
	}
}
Execute adds all child commands to the root command sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
package cmd
import (
	log "github.com/Sirupsen/logrus"
	"github.com/alexanderGugel/nerva/util"
	"github.com/spf13/cobra"
	"github.com/spf13/viper"
	"strings"
)
var RootCmd = &cobra.Command{
	Use:   "nerva",
	Short: "Common JS registry server",
	Long:  ``,
}