-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve handling of environment variables in the pipe transformer #480
Comments
The snake-case parsing of arguments makes it impossible to pass uppercase environment variables, right? Interestingly, passing |
An alternative approach is to define environment variables via JSON and put those variables into your script, which is then run through the pipe transformer. Here's an example, I have never used the environment variable feature in glow. Probably because I hit the same limitations you describe above! |
Ah, OK, I did not think of that solution 😁 |
will keep the issue open for now until this is properly documented should delete those environment variable options from the docs, they are somewhat confusing |
updating the example in the docs to avoid this issue in future: |
From https://github.com/projectglow/glow/blob/master/docs/source/tertiary/pipe-transformer.rst:
Would it be possible to have some argument
jsonEnv
that can decode json-encoded environment variables?E.g.:
This would make it significantly easier to adjust environment variables IMHO.
The text was updated successfully, but these errors were encountered: