openresty / openresty/resty-cli

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

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
269
Forks
59
Avg merge
1h 35m
Merged PRs (30d)
2

Description

for example test.lua:

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

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the resty command and the test.lua example to determine how environment variables are expected to reach os.getenv. Check the CLI usage documentation or entry point for existing environment handling; done should be a clear documented invocation or a confirmed limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, perl
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.