Config file formatter, converter, and differ.
bash
# Pretty-print JSON config
python3 scripts/confmt.py format config.json --sort
# Flatten nested config to dot-notation
cat config.json | python3 scripts/confmt.py format -o flat
# Convert JSON to .env format
python3 scripts/confmt.py format config.json -o env
# Compact/minify
python3 scripts/confmt.py format config.json --compact
# Diff two config files
python3 scripts/confmt.py diff prod.json staging.json
+ added keys- removed keys~ changed values