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