mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
5fd2890d1b
This is to ensure solid parsing of complex data (with any binary content except NUL chars) by separating the `yq` root collection member's output with NUL char. As a safe-guard, an error will be cast if trying to use NUL character with content that contains itself NUL characters inside.
37 lines
633 B
Go
37 lines
633 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 nulSepOutput = 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 = ""
|