mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
18 lines
266 B
Go
18 lines
266 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
command "github.com/mikefarah/yq/v3/cmd"
|
|
logging "gopkg.in/op/go-logging.v1"
|
|
)
|
|
|
|
func main() {
|
|
cmd := command.New()
|
|
log := logging.MustGetLogger("yq")
|
|
if err := cmd.Execute(); err != nil {
|
|
log.Error(err.Error())
|
|
os.Exit(1)
|
|
}
|
|
}
|