#yaml #tool #expand #cli

bin+lib yexp

yexp is a small tool for expand yaml files

7 releases

0.2.2 May 8, 2024
0.2.1 Apr 26, 2024
0.1.6 Apr 25, 2024

#458 in Configuration

Download history 83/week @ 2024-07-28 41/week @ 2024-09-22 23/week @ 2024-09-29

454 downloads per month

GPL-3.0 license

19KB
191 lines

yexp is a small tool for expand yaml files

Examples

a.yaml

- one
- two
- three

b.yaml

items: !include path/to/a.yaml

c.yaml

foo: bar
extend: # <- can be string or sequence of strings
  - path/to/b.yaml

yexp /path/to/c.yaml outputs:

foo: bar
items:
  - one
  - two
  - three

Installation

Prebuilt Binaries

Download the latest releases from the GitHub release page.

Via cargo

cargo install yexp

Via homebrew

brew tap fixcik/tap
brew install yexp

Dependencies

~2.9–4MB
~75K SLoC