mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +00:00
08a6cb65fe
* Use file extension to auto detect output format! * Use file extension to auto detect output format! * formatting
36 lines
608 B
Go
36 lines
608 B
Go
package cmd
|
|
|
|
var unwrapScalarFlag = newUnwrapFlag()
|
|
|
|
var unwrapScalar = false
|
|
|
|
var writeInplace = false
|
|
var outputToJSON = false
|
|
|
|
var outputFormat = ""
|
|
|
|
var inputFormat = ""
|
|
|
|
var exitStatus = false
|
|
var forceColor = false
|
|
var forceNoColor = false
|
|
var colorsEnabled = false
|
|
var indent = 2
|
|
var noDocSeparators = false
|
|
var nullInput = false
|
|
var verbose = false
|
|
var version = false
|
|
var prettyPrint = false
|
|
|
|
// can be either "" (off), "extract" or "process"
|
|
var frontMatter = ""
|
|
|
|
var splitFileExp = ""
|
|
var splitFileExpFile = ""
|
|
|
|
var completedSuccessfully = false
|
|
|
|
var forceExpression = ""
|
|
|
|
var expressionFile = ""
|