resty-cli icon indicating copy to clipboard operation
resty-cli copied to clipboard

How to pass environment variables that os.getenv can get?

Open xiangnanscu opened this issue 3 years ago • 0 comments

for example test.lua:

assert(os.getenv("FOO") == 'BAR')

and FOO=BAR resty test.lua will pass the test.

xiangnanscu avatar Nov 24 '22 14:11 xiangnanscu