Repository navigation
converting v2 query functions and output flags to v3 #532
|
hi @TomWright, I am trying to migrate dasel v2 syntax to v3, specifically I am trying to get all services keys as follows (again, this is in dasel v2 syntax) docker compose config | dasel -i yaml ".services.all().key()" -w -Is there an equivalent in v3 for both the query and the |
Replies: 3 comments 14 replies
|
The "plain" output format isn't currently supported, but to get unquoted strings you can use I was expecting this to be a simple Sorry for the breakage here. I'll work on this as a feature request. |
|
I've just released v3.4.0 which includes the You may still have problems with a newline delimited list of services, however this is a simple approach that you should be able to work with. |
|
hi @TomWright, |
You can use
services.nginx.build.context ?? "some default value"