All Projects → jasperes → Bash Yaml

jasperes / Bash Yaml

Licence: mit
Read a yaml file and create variables in bash

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Bash Yaml

scout
Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.
Stars: ✭ 110 (-60.43%)
Mutual labels:  yaml, bash-script
manifest-summary
print summary of a kubernetes manifest
Stars: ✭ 31 (-88.85%)
Mutual labels:  yaml
Simple-YAML
A Java API that provides an easy-to-use way to store data using the YAML format.
Stars: ✭ 68 (-75.54%)
Mutual labels:  yaml
heroku-nextjs-build
Heroku build adapter for Next.js (an npm module)
Stars: ✭ 12 (-95.68%)
Mutual labels:  bash-script
pollly
The simplest editor to translate apps & sites for YML files. Fast and Simple. Try now!
Stars: ✭ 32 (-88.49%)
Mutual labels:  yaml
ezkill
'pkill -f' with a confirmation prompt.
Stars: ✭ 15 (-94.6%)
Mutual labels:  bash-script
home assistant config
HomeAssistant.io Configuration Files
Stars: ✭ 110 (-60.43%)
Mutual labels:  yaml
Bashcached
memcached server built on bash + socat
Stars: ✭ 270 (-2.88%)
Mutual labels:  bash-script
vim-localorie
A Vim plugin for easy look-up of translations for Rails i18n YAML keys.
Stars: ✭ 27 (-90.29%)
Mutual labels:  yaml
fluidpatcher
A performance-oriented patch interface for FluidSynth
Stars: ✭ 41 (-85.25%)
Mutual labels:  yaml
basalt
The rock-solid Bash package manager
Stars: ✭ 16 (-94.24%)
Mutual labels:  bash-script
hitchstory
Type-safe, StrictYAML based BDD framework for python.
Stars: ✭ 24 (-91.37%)
Mutual labels:  yaml
fmf
Flexible Metadata Format
Stars: ✭ 16 (-94.24%)
Mutual labels:  yaml
mtproxy autoinstaller
MTProxy autoinstaller for Ubuntu
Stars: ✭ 25 (-91.01%)
Mutual labels:  bash-script
Stylist
Define UI styles in a hot-reloadable yaml or json file
Stars: ✭ 260 (-6.47%)
Mutual labels:  yaml
yorm
Automatic object-YAML mapping for Python.
Stars: ✭ 23 (-91.73%)
Mutual labels:  yaml
Azure-AKS-ApplicationGateway-WAF
No description or website provided.
Stars: ✭ 16 (-94.24%)
Mutual labels:  yaml
checkmk-telegram-notify
Get alerted by Check_MK via Telegram bash script
Stars: ✭ 28 (-89.93%)
Mutual labels:  bash-script
Quicklib
Quick development library (AutoMapper, LinQ, IOC Dependency Injection, MemoryCache, Scheduled tasks, Config, Serializers, etc) with crossplatform support for Delphi/Firemonkey (Windows,Linux,OSX/IOS/Android) and freepascal (Windows/Linux).
Stars: ✭ 274 (-1.44%)
Mutual labels:  yaml
Remot3d
Remot3d: is a simple tool created for large pentesters as well as just for the pleasure of defacers to control server by backdoors
Stars: ✭ 263 (-5.4%)
Mutual labels:  bash-script

bash-yaml

Tests Lint

Bash script to read a Yaml file and create variables.

Working on

  • Linux
  • OSX

Getting Started

Usage

Copy the script/yaml.sh file and import on your script: source yaml.sh

Then two functions are viable:

  • parse_yaml: Output result from the readed yaml file.
  • create_variables: Read and create variables based on yaml file passed by argument.

Look at test folder to see more.

Testing

You can test if your yaml file will be readed correctly based on test folder.

Known issues

  • Object lists must be informed all attributes. Null must be "attr: ".

Credits

This project was started based on @pkuczynski gist. Found it here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].