@ivaniscoding/celq-linux-arm64 0.2.0-beta.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/bin/celq +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# celq
|
|
2
|
-
[](https://crates.io/crates/celq) [](https://docs.rs/celq) [](https://celq-playground.github.io/) [](https://crates.io/crates/celq) [](https://docs.rs/celq) [](https://celq-playground.github.io/) [](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
|
|
3
3
|
|
|
4
4
|
**celq** is a command-line tool for evaluating [Common Expression Language (CEL)](https://cel.dev/) expressions. It processes JSON input, performs computations, and outputs results. Think of it as if [jq](https://jqlang.org/) supported CEL.
|
|
5
5
|
|
|
@@ -34,6 +34,8 @@ There are implementations of CEL for [Go](https://github.com/google/cel-go), [Ja
|
|
|
34
34
|
|
|
35
35
|
Moreover, the CEL specification is simpler than the jqlang specification. If you need something less powerful than `jq` or Python, then `celq` might be what you are looking for.
|
|
36
36
|
|
|
37
|
+
Check our [comparison with other tools](https://docs.rs/celq/latest/celq/comparison_with_other_tools) for more details.
|
|
38
|
+
|
|
37
39
|
## Installation
|
|
38
40
|
|
|
39
41
|
### Pre-built Binaries
|
|
@@ -163,21 +165,17 @@ See the [installation guide](https://docs.rs/celq/latest/celq/installation_guide
|
|
|
163
165
|
FreeBSD builds are tested in [Cirrus CI](https://cirrus-ci.org/) and cross-compiled with [Zig](https://github.com/rust-cross/cargo-zigbuild). Although `celq` is not yet in the ports tree, it does publish pre-built binaries:
|
|
164
166
|
|
|
165
167
|
```bash
|
|
166
|
-
|
|
167
|
-
VERSION=v0.2.0
|
|
168
|
+
VERSION=v0.3.0
|
|
168
169
|
RELEASE_URL=https://github.com/IvanIsCoding/celq/releases/download/${VERSION}
|
|
170
|
+
PLATFORM=x86_64 # or aarch64
|
|
169
171
|
|
|
170
|
-
|
|
171
|
-
fetch ${RELEASE_URL}/SHA256SUMS
|
|
172
|
-
fetch ${RELEASE_URL}/celq-x86_64-unknown-freebsd.tar.gz
|
|
173
|
-
sha256 -c SHA256SUMS --ignore-missing
|
|
172
|
+
fetch ${RELEASE_URL}/celq-freebsd-${PLATFORM}.tar.gz
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
sudo install -m 755 celq /usr/local/bin/
|
|
174
|
+
tar xzf celq-freebsd-${PLATFORM}.tar.gz
|
|
175
|
+
su root -c 'install -m 755 celq /usr/local/bin/'
|
|
178
176
|
```
|
|
179
177
|
|
|
180
|
-
`celq` can be installed from source following the [Cargo](#cargo) section. We strive to always compile with the Rust version provided in the ports tree.
|
|
178
|
+
`celq` can also be installed from source following the [Cargo](#cargo) section. We strive to always compile with the Rust version provided in the ports tree.
|
|
181
179
|
|
|
182
180
|
## Limitations
|
|
183
181
|
|
|
@@ -217,6 +215,7 @@ Special thanks to the maintainers of:
|
|
|
217
215
|
- **[cel-rust](https://github.com/cel-rust/cel-rust)** for providing the CEL evaluation engine that powers `celq`
|
|
218
216
|
- **[cel-python](https://github.com/cloud-custodian/cel-python)** for publishing their CLI. `celq` has heavily drawn from their interface
|
|
219
217
|
- **[jaq](https://github.com/01mf02/jaq)** for giving an excellent blueprint on how to test a Rust CLI
|
|
218
|
+
- **[gron](https://github.com/tomnomnom/gron)** for greppable JSON
|
|
220
219
|
|
|
221
220
|
## Large Language Models Disclosure
|
|
222
221
|
|
package/bin/celq
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
],
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public",
|
|
18
|
-
"tag": "
|
|
18
|
+
"tag": "latest"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/IvanIsCoding/celq.git"
|
|
23
23
|
},
|
|
24
|
-
"version": "0.
|
|
24
|
+
"version": "0.3.0"
|
|
25
25
|
}
|