rustbrain-0.1.1 is not a library.
rustbrain (CLI)
Command-line interface for the rustbrain second-brain engine.
Package name on crates.io: rustbrain
Binary name: rustbrain
Install
# From a local checkout:
Requires a C toolchain (bundled SQLite + tree-sitter).
Usage
Commands
| Command | Description |
|---|---|
init [path] |
Create .brain/ and empty SQLite DB |
sync [path] |
Index notes + Rust AST; bake CSR mmap |
query <q> |
Ranked search (--scores, -n, --all-workspaces, -w) |
context |
Agent context (-p prompt, -m tokens, --hops, -F xml|md) |
watch |
Debounced live re-index (--debounce-ms) |
export |
Write .brainbundle (--out, --decouple-ast) |
import |
Load a .brainbundle (--input) |
Run rustbrain <command> --help for full flags.
Library
This package is CLI-only. For embedding rustbrain in your own tools, depend on
rustbrain-core (the only other published crate):
[]
= "0.1"
Exit codes
0— success1— error (message on stderr)
License
MIT OR Apache-2.0