Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svenfuchs/sh_vars
Shell variable parser
https://github.com/svenfuchs/sh_vars
bash parser ruby shell variables
Last synced: about 2 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T14:13:03.000Z (about 5 years ago)
- Last Synced: 2024-04-25T23:21:54.147Z (8 months ago)
- Topics: bash, parser, ruby, shell, variables
- Language: Ruby
- Homepage:
- Size: 221 KB
- Stars: 3
- Watchers: 2
- 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 [![Build Status](https://travis-ci.org/svenfuchs/cl.svg?branch=master)](https://travis-ci.org/svenfuchs/cl) [![Code Climate](https://api.codeclimate.com/v1/badges/2c2c23d7103d193e72a2/maintainability)](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"']]
```