Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mgwalker/bash-named-args-to-env

Example of a bash script to convert named arguments into environment variables.
https://github.com/mgwalker/bash-named-args-to-env

Last synced: about 2 months ago
JSON representation

Example of a bash script to convert named arguments into environment variables.

Awesome Lists containing this project

README

        

Example of a bash script to convert named arguments into environment variables.

```console
./main.sh \
--LOCAL_VAR "this variable is used by the main script" \
--DOWNSTREAM_VAR "this variable is used by another command"
```