fmt
This is a stand-alone utility to pretty-format your dnsconfig.js
configuration file.
Examples
By default the output goes to stdout:
You can also redirect the output via the -o
option:
The safest method involves making a backup first:
The riskiest method depends on the fact that DNSControl currently processes the -o
file after the input file is completely read. It makes no backups. This is useful if Git is your backup mechanism.
Last updated