MergeForward

command module
v0.0.0-...-53aa38e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2016 License: MIT Imports: 9 Imported by: 0

README

MergeForward

Simple tool to merge configuration files taking values from the src and adding them to the destination file while still keeping the new keys.

Example YAML:

key: custom
key2: default
list:
  - !!OBJECT
  key: custom
  key2: default
  - !!OBJECT
  key: default
  key2: default  

destination conf:

key: default
key2: default
new: default
list:
  - !!OBJECT
  key: default
  key2: default
  key3: default
  - !!OBJECT
  key: default
  key2: default  
  - !!OBJECT
  key: default
  key2: default 

result:

key: custom
key2: default
new: default
list:
  - !!OBJECT
  key: custom
  key2: default
  key3: default
  - !!OBJECT
  key: default
  key2: default  
  - !!OBJECT
  key: default
  key2: default 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
c

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL