Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not read subvalue of subvalue #64

Open
GiovanniAffogbolo opened this issue Oct 18, 2021 · 1 comment
Open

Can not read subvalue of subvalue #64

GiovanniAffogbolo opened this issue Oct 18, 2021 · 1 comment

Comments

@GiovanniAffogbolo
Copy link

Hello,

I found this tool (shyaml) and i have an issue using the function above :

test.yaml

people:
  Thomas:
    age: 15
    sex: M
  Laura:
    age: 15
    sex: F

Script bash :
echo test.yaml | shyaml get-value people.Thomas.age

Executing this does not work. As if shyaml only read on the two first levels.
Is it me who doesn't understand it properly or is true ? Is there a fix for this ? Thanks in advance.

@jharris-tc
Copy link

just found this but you need to run cat test.yaml, and then it does work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants