зеркало из https://github.com/microsoft/oe-engine.git
19 строки
422 B
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)
|
|
}
|
|
}
|