Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 470 Bytes
package main
import (
"os"
"subuk/vmango/bootstrap"
"subuk/vmango/util"
"github.com/akamensky/argparse"
)
func main() {
parser := argparse.NewParser("vmango", "Vmango Virtual Machine Manager")
configFilename := parser.String("c", "config", &argparse.Options{
Default: util.GetenvDefault("VMANGO_CONFIG", "vmango.conf"),
Help: "Configuration file path",
})
if err := parser.Parse(os.Args); err != nil {
os.Exit(1)
}
bootstrap.Web(*configFilename)
}
You can’t perform that action at this time.