pulumi/main.go
joeduffy b31c4467ac Move glogging into Mu command startup/teardown
This change moves glogging into the Mu command, so that `mu --help`
actually shows the right thing.  (Sadly, glog hijacks the command help.)
It also adds an option --logtostderr that redirects glog output to the
console.
2016-11-19 16:42:27 -08:00

18 lines
267 B
Go

// Copyright 2016 Marapongo, Inc. All rights reserved.
package main
import (
"fmt"
"os"
"github.com/marapongo/mu/cmd"
)
func main() {
if err := cmd.NewMuCmd().Execute(); err != nil {
fmt.Fprintf(os.Stderr, "An error occurred: %v\n", err)
os.Exit(-1)
}
}