1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/cmd
Y.Horie 5805b3ca11
cmd: caddy fmt return code is 1 if not formatted (#5297)
* cmd: Fix caddy fmt if input isn't formatted

* Fixes #5294
* return exit 1 with an error message

* cmd: Use formattingDifference for caddy fmt

* #5294
* expose caddyfile.formattingDifference
2023-01-21 21:28:37 -07:00
..
caddy reverseproxy: Mask the WS close message when we're the client (#5199) 2022-11-14 09:38:02 -07:00
cobra.go chore: Fix typo, coral -> cobra (#5325) 2023-01-21 10:27:58 -05:00
commandfuncs.go cmd: caddy fmt return code is 1 if not formatted (#5297) 2023-01-21 21:28:37 -07:00
commands.go chore: Fix typo, coral -> cobra (#5325) 2023-01-21 10:27:58 -05:00
main.go cmd: Customizable user agent (close #2795) 2022-09-13 17:21:04 -06:00
main_test.go cmd: Enhance .env (dotenv) file parsing 2022-04-13 11:38:20 -06:00
packagesfuncs.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
removebinary.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
removebinary_windows.go Fix compilation on Windows 2022-07-28 15:44:36 -06:00