Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months ago
JSON representation
Example of a bash script to convert named arguments into environment variables.
- Host: GitHub
- URL: https://github.com/mgwalker/bash-named-args-to-env
- Owner: mgwalker
- License: unlicense
- Archived: true
- Created: 2019-07-01T23:33:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T23:34:49.000Z (over 5 years ago)
- Last Synced: 2024-04-15T01:57:14.300Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
```