Closed xakrurychle closed 1 year ago
@xakrurychle Thanks for reporting. Apparently .contains()
is currently broken in native binaries; your example does work in the .jar version:
As for your other question, looks like you may have forgotten the matches
operator?
trying to run this query
./fcli ssc role ls -o json -q '{true,false}.contains(allApplicationRole)'
results inas described by documentation the latter query should be identical to the first one. While the first one works for me just fine, the
-q '{"v1","v2"}.contains(p1)'
does not.Apart from that, this query should also work in similar fashion.
-q 'name matches "val1|val2"'
but I failed to run it succesfully../fcli ssc role ls -o json -q 'id "viewonly|admin"'
Would that be syntactically correct? If not, can you please let me know how to run it?fcli version 0.20230629.082654-dev_develop, built on 2023-06-29 08:27:42