Added shell string encoder (@sh) #1526

This commit is contained in:
Mike Farah
2023-02-02 12:23:08 +11:00
parent d119dbc239
commit d21bb920d6
7 changed files with 75 additions and 0 deletions
+1
View File
@@ -80,6 +80,7 @@ var participleYqRules = []*participleYqRule{
{"Urid", `@urid`, decodeOp(UriInputFormat), 0},
{"Uri", `@uri`, encodeWithIndent(UriOutputFormat, 0), 0},
{"SH", `@sh`, encodeWithIndent(ShOutputFormat, 0), 0},
{"LoadXML", `load_?xml|xml_?load`, loadOp(NewXMLDecoder(ConfiguredXMLPreferences), false), 0},