https://github.com/svenfuchs/sh_vars
Shell variable parser
https://github.com/svenfuchs/sh_vars
bash parser ruby shell variables
Last synced: 3 months ago
JSON representation
Shell variable parser
- Host: GitHub
- URL: https://github.com/svenfuchs/sh_vars
- Owner: svenfuchs
- License: mit
- Created: 2019-04-28T18:29:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T14:13:03.000Z (over 5 years ago)
- Last Synced: 2025-04-13T14:46:29.533Z (3 months ago)
- Topics: bash, parser, ruby, shell, variables
- Language: Ruby
- Homepage:
- Size: 221 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ShVars [](https://travis-ci.org/svenfuchs/cl) [](https://codeclimate.com/github/svenfuchs/sh_vars)
A library for parsing shell environment variables.
## Installation
```
gem install sh_vars
```## Usage
```
require 'sh_vars'ShVars.parse('FOO=foo BAR="bar"')
# => [['FOO', foo], ['BAR', '"bar"']]
```