#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

#325 in Configuration

Download history 5/week @ 2024-07-01 83/week @ 2024-07-29 61/week @ 2024-09-23

61 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

~4MB
~74K SLoC