yq/yq.go

18 lines
266 B
Go
Raw Permalink Normal View History

2015-09-26 22:15:49 +00:00
package main
import (
2020-01-19 21:42:08 +00:00
"os"
command "github.com/mikefarah/yq/v3/cmd"
2019-10-30 21:18:09 +00:00
logging "gopkg.in/op/go-logging.v1"
2015-09-26 22:15:49 +00:00
)
func main() {
cmd := command.New()
log := logging.MustGetLogger("yq")
if err := cmd.Execute(); err != nil {
log.Error(err.Error())
os.Exit(1)
}
}