#!/bin/sh
set -eu

if [ -t 0 ]; then
   echo "${@}" | python3 -m json.tool --no-ensure-ascii
else
   python3 -m json.tool --no-ensure-ascii
fi
