bin: add cj to display prettified json
This commit is contained in:
parent
db7fb3a68d
commit
61a15f85bb
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cat "$@" | while read -r line; do echo -n "$line" | python -m json.tool 2>/dev/null; done | bat --language json --style numbers
|
Loading…
Reference in New Issue