resty-cli
resty-cli copied to clipboard
Fancy command-line utilities for OpenResty
Sometimes I just want to test something out in OpenResty's fork of LuaJIT, that doesn't necessarily involve the lua-nginx APIs (or other OpenResty components). For example FFI stuff. In that...
for example `test.lua`: ``` assert(os.getenv("FOO") == 'BAR') ``` and `FOO=BAR resty test.lua` will pass the test.
CLOSE https://github.com/openresty/resty-cli/issues/66
Hi, Would a contribution adding support for environment variables be accepted for options such as `-c` or `--nginx`? The use case is using `resty` in a shebang as such: ```...
I'm running a unit test with resty in a kubernetes cluster. `resty /kong/spec/jwtcache_test.lua --http-conf 'resolver 172.31.0.10' --main-conf 'resolver 172.31.0.10'` This test uses "resty.redis" to try to connect to a redis...
We are using resty to run some long running processes - basically a while true loop that consumes messages from a message queue and then make some http calls for...
hi, I'm author of [lua-aws](https://github.com/umegaya/lua-aws), lua implementation of aws API which supports openresty. thank you for creating resty-cli, it helps to check lua-aws' behavior in openresty! this issue may relate...
ngx.sleep() will crash the resty-cli and report work_connection not enough.
Hi All, I had build the nginx binary on rhel 7.6 ppc64le (version 1.17.1.1rc0) from source code - https://github.com/openresty/openresty. Please note that, I had copied and used ppc64le compiled LuaJIT...