dnscontrol/documentation/commands
Tom Limoncelli 9076f405fd
NEW FEATURE: Make "fmt" more like other formatters (warning: New default for -o) (#3927)
# Issue

The "fmt" command doesn't work like Terraform fmt, gofmt, and others. It
should:

* Default should DTRT: Format the existing dnsconfig.js file in place
* Not output a filename if no changes were made
* Don't modify the file's timestamp if no changes were made
* Accept stdin and stdout

# Resolution

All that.

# Potential breaking change

The default for '-o' is now dnsconfig.js instead of stdout. This may
break shell scripts that redirect stdout instead of using '-o' to
specify an output filename. If you use ">" instead of "-o", please
switch to "-o".
2025-12-18 06:41:05 -05:00
..
check-creds.md DOCS: Fix many minor typos (#3752) 2025-09-02 11:00:25 -04:00
colors.md
creds-json.md
fmt.md NEW FEATURE: Make "fmt" more like other formatters (warning: New default for -o) (#3927) 2025-12-18 06:41:05 -05:00
get-certs.md CHORE: Remove "get-certs" command (#3657) 2025-07-09 14:01:23 -04:00
get-zones.md
globalflags.md
preview-push.md