proxmaster/humanjson.sh

13 lines
230 B
Bash
Executable file

#!/bin/bash
#makes jsons human (and machine) readable
#TODO: scan for all jsons and rewrite them.
echo " "
echo "GRID:"
cat grid-real.json | python3 -m json.tool
echo " "
echo "CLIENTS:"
cat clients.json | python3 -m json.tool