Example of a bash script to convert named arguments into environment variables.
./main.sh \
--LOCAL_VAR "this variable is used by the main script" \
--DOWNSTREAM_VAR "this variable is used by another command"
Example of a bash script to convert named arguments into environment variables.
ShellUnlicense
Example of a bash script to convert named arguments into environment variables.
./main.sh \
--LOCAL_VAR "this variable is used by the main script" \
--DOWNSTREAM_VAR "this variable is used by another command"