diff --git a/README.md b/README.md index 6b3cf78..209c7bb 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,13 @@ codegraph install ```bash cd your-project -codegraph init -i +codegraph init ``` -`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. +`codegraph init` creates the local `.codegraph/` directory and builds the full graph in the same step — one command, done. + +**From that moment the index keeps itself up to date — it is never stale.** CodeGraph watches the project and auto-syncs on every file change: while your agent edits code, or you add, modify, or delete files, the graph updates automatically. There is nothing to re-run. +