herrjulz / aviator

Merge YAML/JSON files in a in a convenient fashion based on a configuration file called aviator.yml
MIT License
60 stars 7 forks source link

[feature request] Support setting array values #39

Open akshaymankar opened 5 years ago

akshaymankar commented 5 years ago

Example:

input.yml

foo:
  bar: 2000

avaitor.yml

- base: input.yml
  modify:
    set:
    - path: .foo.baz
       value: [qux]

Expected output:

foo:
  bar: 2000
  baz: [qux]

/cc @gdankov