The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Yash - A script to load YAML file inside shell scripts

VERSION

Version 0.1

SYNOPSIS

Get an item from an array inside a nested array:

yash [list of hash keys] [array index] <file.yml

or

yash -f file.yml [list of hash keys] [array index]

Check if the reached item is a scalar/array/hash

yash [--scalar|--array|--hash] [list of hash keys] [array index] <file.yml

or

yash -f file.yml [--scalar|--array|--hash] [list of hash keys] [array index] <file.yml

See the tests for more examples.