2024-12-24 00:43:07 -05:00
|
|
|
# `tree-sitter dump-languages`
|
|
|
|
|
|
2026-01-12 22:10:09 -05:00
|
|
|
The `dump-languages` command prints out a list of all the languages that the CLI knows about. This can be useful for debugging
|
|
|
|
|
purposes, or for scripting. The paths to search comes from the config file's [`parser-directories`][parser-directories]
|
|
|
|
|
object.
|
2024-12-24 00:43:07 -05:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
tree-sitter dump-languages [OPTIONS] # Aliases: langs
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### `--config-path`
|
|
|
|
|
|
2026-01-12 22:10:09 -05:00
|
|
|
The path to the configuration file. Ordinarily, the CLI will use the default location as explained in the [init-config](./init-config.md)
|
|
|
|
|
command. This flag allows you to explicitly override that default, and use a config defined elsewhere.
|
2024-12-24 00:43:07 -05:00
|
|
|
|
|
|
|
|
[parser-directories]: ./init-config.md#parser-directories
|