1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/cmd
Vaibhav 5fe69ac4ab
cmd: Add caddy fmt command. (#3090)
This takes the config file as input and formats it.
Prints the result to stdout. Can write changes to
file if `--write` flag is passed.

Fixes #3020

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
2020-02-29 10:12:16 -07:00
..
caddy cmd: Move module imports into standard packages 2019-11-04 12:13:21 -07:00
commandfuncs.go cmd: Add caddy fmt command. (#3090) 2020-02-29 10:12:16 -07:00
commands.go cmd: Add caddy fmt command. (#3090) 2020-02-29 10:12:16 -07:00
main.go cmd: Emit error if reload cannot find a config to load 2020-01-22 10:04:58 -07:00
proc_posix.go cmd: Improve stop command by trying API before signaling process 2019-11-15 15:45:18 -07:00
proc_windows.go cmd: Improve stop command by trying API before signaling process 2019-11-15 15:45:18 -07:00