package main

import (
	"fmt"
	"os"
)

var version = "dev"

func main() {
	if err := run(); err != nil {
		fmt.Fprintf(os.Stderr, "mc-proxy: %v\n", err)
		os.Exit(1)
	}
}

func run() error {
	return rootCmd().Execute()
}
