oe-engine/main.go

19 строки
422 B
Go

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package main
import (
"github.com/Microsoft/oe-engine/cmd"
"github.com/mattn/go-colorable"
log "github.com/sirupsen/logrus"
)
func main() {
log.SetFormatter(&log.TextFormatter{ForceColors: true})
log.SetOutput(colorable.NewColorableStdout())
if err := cmd.NewRootCmd().Execute(); err != nil {
log.Fatalln(err)
}
}