From 5fbb9f6787d3eaedcea81565d2df371e034a3bea Mon Sep 17 00:00:00 2001 From: Colby Mchenry Date: Thu, 28 May 2026 23:15:34 -0500 Subject: [PATCH] docs(readme): clarify what `init -i` does vs plain `init` (#483) (#545) A user asked what the `-i` flag does and why it isn't the default. Add a short note under the Initialize Projects quickstart: plain `init` only scaffolds the `.codegraph/` dir, `-i`/`--index` also runs the first index, and without it you run `codegraph index` afterwards. Co-authored-by: Claude Opus 4.8 (1M context) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 08f2838..6b55f2d 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,8 @@ cd your-project codegraph init -i ``` +`codegraph init` just creates the local `.codegraph/` index directory; adding `-i` (`--index`) also builds the initial graph in the same step. Without `-i`, run `codegraph index` afterwards to populate it. +
![1_C_VYnhpys0UHrOuOgpgoyw](https://github.com/user-attachments/assets/f168182f-4d9a-44e0-94d7-08d018cc8a3a)