All Projects → brainsiq → merge-yaml-cli

brainsiq / merge-yaml-cli

Licence: MIT license
Node.js CLI utility for merging YAML files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to merge-yaml-cli

Guice-configuration
Guice configuration module allows inject values from files as JSON, HOCON and Properties format
Stars: ✭ 28 (+100%)
Mutual labels:  yaml
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (+28.57%)
Mutual labels:  yaml
urlshort
Ex 2 - Create an http.Handler that forwards paths to other URLs
Stars: ✭ 114 (+714.29%)
Mutual labels:  yaml
cryptorious
CLI Password Manager
Stars: ✭ 15 (+7.14%)
Mutual labels:  yaml
smacha
SMACHA is a meta-scripting, templating, and code generation engine for rapid prototyping of ROS SMACH state machines.
Stars: ✭ 15 (+7.14%)
Mutual labels:  yaml
exenv
Exenv makes loading environment variables from external sources easy.
Stars: ✭ 35 (+150%)
Mutual labels:  yaml
bafi
Universal JSON, BSON, YAML, CSV, XML converter with templates
Stars: ✭ 65 (+364.29%)
Mutual labels:  yaml
openapi-specification
Pinnacle REST API Open API Specification (swagger)
Stars: ✭ 20 (+42.86%)
Mutual labels:  yaml
codemagic-sample-projects
A collection of sample apps built with Codemagic CI/CD. Please see the codemagic.yaml file for a sample workflow configuration.
Stars: ✭ 82 (+485.71%)
Mutual labels:  yaml
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (+557.14%)
Mutual labels:  yaml
yaml.nvim
🍒 YAML toolkit for Neovim users
Stars: ✭ 81 (+478.57%)
Mutual labels:  yaml
havener
/ˈheɪvənə/ - Think of it as a swiss army knife for Kubernetes tasks
Stars: ✭ 296 (+2014.29%)
Mutual labels:  yaml
polyglot-jekyll
Plugin-free multilanguage Jekyll websites
Stars: ✭ 46 (+228.57%)
Mutual labels:  yaml
yaml-editor
Edit YAML and see it processed by various processors
Stars: ✭ 29 (+107.14%)
Mutual labels:  yaml
contact-officials
Form definitions powering Resistbot's electronic deliveries to elected officials in the United States.
Stars: ✭ 29 (+107.14%)
Mutual labels:  yaml
gohit
Run curl commands from yaml files
Stars: ✭ 19 (+35.71%)
Mutual labels:  yaml
ufw
A minimalist framework for rapid server side applications prototyping in C++ with dependency injection support.
Stars: ✭ 19 (+35.71%)
Mutual labels:  yaml
ogrants
Open grants list
Stars: ✭ 96 (+585.71%)
Mutual labels:  yaml
artemis cli
A command-line application for tutors to more productively grade programming excises on ArTEMiS
Stars: ✭ 12 (-14.29%)
Mutual labels:  yaml
yamlinc
Compose multiple YAML files into one with $include tag. Split Swagger/OpenAPI into multiple YAML files.
Stars: ✭ 103 (+635.71%)
Mutual labels:  yaml

merge-yaml-cli

Known Vulnerabilities Standard - JavaScript Style Guide CircleCI

NPM

Merges YAML files together using glob patterns to specify input files, with a CLI to write out the result as a file.

Usage

npm i -g merge-yaml-cli
merge-yaml -i example.yaml includes/*.yml -o merged.yml

Node.js API

const mergeYaml = require('merge-yaml-cli')

mergeYaml.on('files', console.log('Files found: ', files))

const result = mergeYaml.merge(['example.yml', 'includes/*.yml'])

Tests

The repo contains one simple test case. tests/base.yml is merged with includes/*.yml and the output is compared with expected.yml.

The test can be run with yarn test or npm test but requires Docker and Docker Compose to be installed.

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].