fix(cli)!: deprecate --build flag for generate command

This commit is contained in:
Will Lillis 2025-11-03 01:46:05 -05:00 committed by Christian Clason
parent 13d4db8bb4
commit 361287fb56
2 changed files with 4 additions and 14 deletions

View file

@ -34,17 +34,6 @@ The ABI to use for parser generation. The default is ABI 15, with ABI 14 being a
Only generate `grammar.json` and `node-types.json`
### `-0/--debug-build`
Compile the parser with debug flags enabled. This is useful when debugging issues that require a debugger like `gdb` or `lldb`.
### `--libdir <PATH>`
The directory to place the compiled parser(s) in.
On Unix systems, the default path is `$XDG_CACHE_HOME/tree-sitter` if `$XDG_CACHE_HOME` is set,
otherwise `$HOME/.config/tree-sitter` is used. On Windows, the default path is `%LOCALAPPDATA%\tree-sitter` if available,
otherwise `$HOME\AppData\Local\tree-sitter` is used.
### `-o/--output`
The directory to place the generated parser in. The default is `src/` in the current directory.