Command line
gr sync
Bring the graph back in step with the code
From the help of gr 0.2.16. gr help sync prints it in full.
Bring the graph back in step with the code after it changes on disk: a pull, a branch switch, an edit.
gr sync [flags]
| Flag | What it does |
|---|---|
--agents | fill the descriptions and modules that are missing (--agents=false for the free structural sync) (default true) |
--dry-run | report what changed without touching the graph |
--prune | delete the nodes of files that have left the tree instead of marking them |
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.