resty-cli
resty-cli copied to clipboard
Fancy command-line utilities for OpenResty
make **load_module** directive work in $main_include_directives and $main_conf_lines. Which in `resty --main-include ./main.conf --http-include ./http.conf ` `load_module /usr/local/openresty/modules/ngx_lua_ipc_module.so;` `load_module ../modules/ngx_http_vhost_traffic_status_module.so;`
--errlog-level should support DEBUG or debug, not case sensitivity。
We need to add a new option `--regex-cache N` to control the setting of the [lua_regex_cache_max_entries](https://github.com/openresty/lua-nginx-module/#lua_regex_cache_max_entries) config directive easily.