Bass uses /usr/bin/env to read environment variables. It is not able to handle multi-line environment variables, among other edge cases.
This PR updates it to use os.environ in Python to read environment variables and dump them to JSON. This is much more robust and should be able to handle most edge cases.
Fixes #15.
Bass uses
/usr/bin/env
to read environment variables. It is not able to handle multi-line environment variables, among other edge cases.This PR updates it to use
os.environ
in Python to read environment variables and dump them to JSON. This is much more robust and should be able to handle most edge cases.