| Crates.io | siftdb-cli |
| lib.rs | siftdb-cli |
| version | 0.2.2 |
| created_at | 2025-09-06 11:17:22.996802+00 |
| updated_at | 2025-09-06 16:04:53.541228+00 |
| description | Command-line interface for SiftDB - the high-performance grep-native database |
| homepage | https://github.com/siftdb/siftdb |
| repository | https://github.com/siftdb/siftdb |
| max_upload_size | |
| id | 1826973 |
| size | 36,526 |
Command-line interface for SiftDB, a grep-native, agent-oriented database for code and text collections.
cargo install siftdb-cli
# Initialize a new collection
sift init my-project.sift
# Import code
sift import my-project.sift --from /path/to/code \
--include "**/*.rs" --include "**/*.py" --include "**/*.js"
# Find patterns
sift find my-project.sift "async" --path-glob "**/*.rs" --limit 20
# Open file ranges
sift open my-project.sift --file src/main.rs --start-line 1 --end-line 50
# Benchmark performance
sift benchmark my-project.sift --source /path/to/code --format json
See the repository benchmarks/README.md for methodology and results. With the O(1) inverted index:
MIT