proxmaster/humanjson.sh

13 lines
231 B
Bash
Executable file

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