3 ms·
Shameless plug, but you might like this: https://github.com/IvanIsCoding/celq https://github.com/IvanIsCoding/celq jq is the CLI I like the most, but sometimes
by ivaniscoding 6mo ago
Shameless plug, but you might like this: https://github.com/IvanIsCoding/celq https://github.com/IvanIsCoding/celq
jq is the CLI I like the most, but sometimes even I struggled to understand the queries I wrote in the past. celq uses a more familiar language (CEL)
- xpe 6mo agoCEL looks interesting and useful, though it isn't common nor familiar imo (not for me at least). Quoting from https://github.com/google/cel-spec https://github.com/google/cel-spec # Common Expression Language The Common Expression Language (CEL) implements common semantics for expression evaluation, enabling different applications to more easily interoperate. ## Key Applications - Security policy: organizations have complex infrastructure and need common tooling to reason about the system as a whole - Protocols: expressions are a useful data type and require interoperability across programming languages and platforms.
- ivaniscoding 6mo agoThat’s some fair criticism, but the same page tells that the language wanted to have a similar syntax to C and JavaScript. I think my personal preference for syntax would be Python’s. One day I want to try writing a query tool with https://github.com/pydantic/monty https://github.com/pydantic/monty
- TomNomNom 6mo agoCool tool! Really appreciate the shoutout to gron in the readme, thanks! :)
- bigfishrunning 6mo agoI had never heard of CEL, looks useful though, thanks for posting this!