Command line
gr outline
List a file's symbols with spans and signatures
From the help of gr 0.2.16. gr help outline prints it in full.
Print a file's symbols from the graph: name, kind, line span and signature, one per line, with a type's members indented under it.
gr outline <file> [flags]
| Flag | What it does |
|---|---|
--json | print the raw top-level result |
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.