docs(cli): better description of files generated by init

This commit is contained in:
Christian Clason 2025-12-22 14:13:05 +01:00 committed by Christian Clason
parent f96d518ebf
commit ba7350c7ee
3 changed files with 92 additions and 86 deletions

View file

@ -1,6 +1,6 @@
# `tree-sitter generate`
The most important command for grammar development is `tree-sitter generate`, which reads the grammar in structured form and outputs C files that can be compiled into a shared or static library (e.g., using the [`build`](./build,md) command).
The most important command for grammar development is `tree-sitter generate`, which reads the grammar in structured form and outputs C files that can be compiled into a shared or static library (e.g., using the [`build`](./build.md) command).
```bash
tree-sitter generate [OPTIONS] [GRAMMAR_PATH] # Aliases: gen, g