mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
remove json conversion for now
This commit is contained in:
parent
676fc63219
commit
dad61ec615
2
yq.go
2
yq.go
@ -21,7 +21,6 @@ var rawOutput = false
|
||||
var customTag = ""
|
||||
var writeInplace = false
|
||||
var writeScript = ""
|
||||
var outputToJSON = false
|
||||
var overwriteFlag = false
|
||||
var allowEmptyFlag = false
|
||||
var appendFlag = false
|
||||
@ -105,7 +104,6 @@ yq r -- things.yaml --key-starting-with-dashes
|
||||
}
|
||||
cmdRead.PersistentFlags().StringVarP(&docIndex, "doc", "d", "0", "process document index number (0 based, * for all documents)")
|
||||
cmdRead.PersistentFlags().BoolVarP(&rawOutput, "raw", "r", false, "raw yaml output - prints out values instead of yaml")
|
||||
cmdRead.PersistentFlags().BoolVarP(&outputToJSON, "tojson", "j", false, "output as json")
|
||||
return cmdRead
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user