Command line
gr query
Ask the graph a question (search + typed walk, budgeted)
From the help of gr 0.2.16. gr help query prints it in full.
Ask the graph a question; print a budgeted slice of it.
gr query <question> [flags]
| Flag | What it does |
|---|---|
--budget int | answer size in tokens (default 2000) |
--depth int | hops to walk (default 2, max 3) |
--json | print the raw result |
--kind string | only start from nodes of this kind |
--path string | only start from nodes under this path prefix |
Every command also takes --root <folder>, the project to act on. Without it, gr uses the git repository you are in, or else the current folder.
These docs describe Graphide 0.2.16, the latest release. Something wrong or missing? Tell us onDiscord or at hello@graphide.com.