mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
24 lines
503 B
Go
24 lines
503 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/mikefarah/yq/v3/pkg/yqlib"
|
|
logging "gopkg.in/op/go-logging.v1"
|
|
)
|
|
|
|
var customTag = ""
|
|
var printMode = "v"
|
|
var writeInplace = false
|
|
var writeScript = ""
|
|
var outputToJSON = false
|
|
var prettyPrint = false
|
|
var overwriteFlag = false
|
|
var autoCreateFlag = true
|
|
var allowEmptyFlag = false
|
|
var appendFlag = false
|
|
var verbose = false
|
|
var version = false
|
|
var docIndex = "0"
|
|
var log = logging.MustGetLogger("yq")
|
|
var lib = yqlib.NewYqLib()
|
|
var valueParser = yqlib.NewValueParser()
|