2020-01-13 09:11:56 +00:00
|
|
|
package cmd
|
|
|
|
|
2021-10-15 00:43:48 +00:00
|
|
|
var leadingContentPreProcessing = true
|
2020-04-13 01:03:18 +00:00
|
|
|
var unwrapScalar = true
|
2020-11-13 03:07:11 +00:00
|
|
|
|
2020-11-29 09:25:47 +00:00
|
|
|
var writeInplace = false
|
2020-01-13 09:11:56 +00:00
|
|
|
var outputToJSON = false
|
2021-07-25 08:08:33 +00:00
|
|
|
var outputFormat = "yaml"
|
2021-12-21 04:02:07 +00:00
|
|
|
var inputFormat = "yaml"
|
|
|
|
|
|
|
|
var xmlAttributePrefix = "+"
|
|
|
|
var xmlContentName = "+content"
|
2022-03-28 03:05:10 +00:00
|
|
|
var xmlStrictMode = false
|
2022-06-14 23:40:31 +00:00
|
|
|
var xmlKeepNamespace = false
|
|
|
|
var xmlUseRawToken = false
|
2020-11-13 03:07:11 +00:00
|
|
|
|
2020-11-30 05:35:21 +00:00
|
|
|
var exitStatus = false
|
2020-10-27 05:45:16 +00:00
|
|
|
var forceColor = false
|
|
|
|
var forceNoColor = false
|
2020-02-27 13:29:13 +00:00
|
|
|
var colorsEnabled = false
|
2020-02-03 05:52:12 +00:00
|
|
|
var indent = 2
|
2020-11-13 02:35:59 +00:00
|
|
|
var noDocSeparators = false
|
2020-11-06 03:37:01 +00:00
|
|
|
var nullInput = false
|
2020-01-13 09:11:56 +00:00
|
|
|
var verbose = false
|
|
|
|
var version = false
|
2020-12-28 00:40:41 +00:00
|
|
|
var prettyPrint = false
|
2020-11-30 05:05:07 +00:00
|
|
|
|
2021-07-18 02:28:46 +00:00
|
|
|
// can be either "" (off), "extract" or "process"
|
|
|
|
var frontMatter = ""
|
|
|
|
|
2021-10-29 03:14:39 +00:00
|
|
|
var splitFileExp = ""
|
2022-04-29 01:08:41 +00:00
|
|
|
var splitFileExpFile = ""
|
2021-10-29 03:14:39 +00:00
|
|
|
|
2020-11-30 05:05:07 +00:00
|
|
|
var completedSuccessfully = false
|
2022-02-06 22:27:52 +00:00
|
|
|
|
|
|
|
var forceExpression = ""
|
2022-03-01 00:50:09 +00:00
|
|
|
|
|
|
|
var expressionFile = ""
|