#yaml #tool #expand #cli #output

bin+lib yexp

yexp is a small tool for expand yaml files

7 releases

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

#155 in Configuration

Download history 496/week @ 2024-04-22 19/week @ 2024-04-29 130/week @ 2024-05-06

645 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
~77K SLoC