-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Error: unknown command for all commands #1158
Comments
I thought maybe despite the reported version it was somehow using the V3 vesion. .However the V3 commands don't work either. |
Sorry for the confusion, prior to v4.18.x you must specify the 'eval (e) or eval-all (ea)' command. In 4.18+ 'e' became the default. See https://github.com/mikefarah/yq/#notice-for-v4x-versions-prior-to-4181 for more details. |
Oh I guess you don't follow simver, this is a breaking change without the major version rolling |
IMO It's not a breaking change as it's fully backwards compatible. The old commands still work as they were documented. It's a new feature that only works with new versions. Just like any other new features I add to Again, apologies for the confusion. |
@mikefarah Your statement does not make sense. None of the documented commands for 4.x work with versions of 4.x before 4.18, and none of the documented commands for 3.x work with the 4.x version. So... what documentation are you referring to? Could you add a note to the top of all the 4.x documentation that states it only applies to versions after 4.18? There's no version selector that would enable someone to show only docs for 4.0 to 4.18, and the version in Ubuntu LTS from the PPA in the docs ( |
So much time lost to this nonsense, again, in 2024. Please update the docs with separate pages for 4.x<4.18 and 4.18+ |
Use 4.44 or a newer version |
yq doesn't seem to recognise any commands
Version of yq: version 4.14.1
Operating system: alphine linux (docker container)
Installed via: apk
The text was updated successfully, but these errors were encountered: