We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc70bf commit 6ade995Copy full SHA for 6ade995
TODO.md
@@ -1,5 +1,22 @@
1
# ToDo
2
3
+* Allow * in path filtering, e.g.:
4
+
5
+ Given the data:
6
7
+ [
8
+ {
9
+ "id": 1
10
+ },
11
12
+ "id": 2
13
+ }
14
+ ]
15
16
+ `please parse *.id` would result in:
17
18
+ [1, 2]
19
20
* Tidy up help text - separate input/output params
21
22
Use [optional] and <value goes here> conventions
formatter/bash.go
@@ -10,6 +10,7 @@ func wrapObj(in interface{}) string {
out := formatBash(in)
out = strings.Replace(out, "\\", "\\\\", -1)
out = strings.Replace(out, "\"", "\\\"", -1)
+ out = strings.Replace(out, "`", "\\`", -1)
out = strings.Replace(out, "\n", "\\n", -1)
out = strings.Replace(out, "$", "\\$", -1)
out = fmt.Sprintf("\"%s\"", out)
0 commit comments