.TH "CADDY-FMT" "1" "September 2021" .SH NAME .HP caddy-fmt \- Formats a Caddyfile .SH SYNOPSIS .HP caddy fmt [--overwrite] [] .SH DESCRIPTION .PP Formats the Caddyfile by adding proper indentation and spaces to improve human readability. It prints the result to stdout. If --overwrite is specified, the output will be written to the config file directly instead of printing it. If you wish you use stdin instead of a regular file, use - as the path. When reading from stdin, the --overwrite flag has no effect: the result is always printed to stdout. .SH OPTIONS .HP \fB--overwrite\fR .RS Overwrite the input file with the results .RE .SH SEE ALSO .PP \fBcaddy-adapt\fR(1), \fBcaddy-caddy\fR(1), \fBcaddy-environ\fR(1), \fBcaddy-file-server\fR(1), \fBcaddy-hash-password\fR(1), \fBcaddy-help\fR(1), \fBcaddy-list-modules\fR(1), \fBcaddy-man\fR(1), \fBcaddy-reload\fR(1), \fBcaddy-reverse-proxy\fR(1), \fBcaddy-run\fR(1), \fBcaddy-start\fR(1), \fBcaddy-stop\fR(1), \fBcaddy-trust\fR(1), \fBcaddy-untrust\fR(1), \fBcaddy-validate\fR(1), \fBcaddy-version\fR(1), \fBcaddy\fR(1) .SH DOCUMENTATION .HP Full documentation is available at: https://caddyserver.com/docs/ .SH VERSION .HP 2.4.5-1 .SH BUGS .HP Report Bugs to: https://github.com/caddyserver/caddy .SH COPYRIGHT .HP (c) Matthew Holt and The Caddy Authors