You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line from the example code "niet project.'"test-dash"' /path/to/your/file.yaml" no longer works.
I created a new environment, pip installed niet, then tried to follow the example. I'm on a Windows 11 machine. The following worked:
py -m venv .venv2
.venv2\Scripts\activate
where python
py -m pip install -U niet
niet ".project.meta.name" example.yml
niet ".project.foo" example.yml
niet ".project.list" example.yml
set NAME=niet ".project.meta.name" example.yml
%NAME%
but I could not get the test-dash field to be read. I tried both with naming my file example.yml and example.yaml so its not the file extension that is at issue. Perhaps downgrading to an earlier version of jmespath would help? This seems related to issue 79.
The text was updated successfully, but these errors were encountered:
The line from the example code "niet project.'"test-dash"' /path/to/your/file.yaml" no longer works.
I created a new environment, pip installed niet, then tried to follow the example. I'm on a Windows 11 machine. The following worked:
py -m venv .venv2
.venv2\Scripts\activate
where python
py -m pip install -U niet
niet ".project.meta.name" example.yml
niet ".project.foo" example.yml
niet ".project.list" example.yml
set NAME=niet ".project.meta.name" example.yml
%NAME%
but I could not get the test-dash field to be read. I tried both with naming my file example.yml and example.yaml so its not the file extension that is at issue. Perhaps downgrading to an earlier version of jmespath would help? This seems related to issue 79.
The text was updated successfully, but these errors were encountered: