diff options
author | Francis Lavoie <lavofr@gmail.com> | 2023-10-11 11:46:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 09:46:18 -0600 |
commit | 9c419f1e1a4a82a8ed49bac3d54050890cb3e58e (patch) | |
tree | d2ddc1499646eb0aa9dbf95a7f757a8df5d4a623 /modules/caddyhttp/routes.go | |
parent | b245ecd325428966ac4e4c208e268967d0e0cb83 (diff) |
cmd: Fix exiting with custom status code, add `caddy -v` (#5874)
* Simplify variables for commands
* Add --envfile support for adapt command
* Carry custom status code for commands to os.Exit()
* cmd: add `-v` and `--version` to root caddy command
* Add `--envfile` to `caddy environ`, extract flag parsing to func
---------
Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Diffstat (limited to 'modules/caddyhttp/routes.go')
0 files changed, 0 insertions, 0 deletions