6 releases
Uses new Rust 2024
| new 0.1.6 | Mar 9, 2026 |
|---|---|
| 0.1.5 | Mar 9, 2026 |
#400 in Command-line interface
10MB
230K
SLoC
shape-cli
Command-line interface for Shape.
Usage
# Run the REPL
cargo run -p shape-cli --bin shape
# Run a Shape script
cargo run -p shape-cli --bin shape -- <path/to/file.shape>
# Expand comptime-generated code
cargo run -p shape-cli --bin shape -- expand-comptime <path/to/file.shape>
# Expand comptime-generated code (shorthand)
cargo run -p shape-cli --bin shape -- <path/to/file.shape> --expand
# Filter expansion output
cargo run -p shape-cli --bin shape -- expand-comptime <path/to/file.shape> --module duckdb --function connect
Features
- Interactive REPL for Shape queries
- Script execution from files
- Comptime expansion inspection (
expand-comptime)
Dependencies
~135MB
~2.5M SLoC