docs: migrate to mdbook

This commit is contained in:
Amaan Qureshi 2024-12-24 00:43:07 -05:00
parent 201b41cf11
commit 043969ef18
57 changed files with 5114 additions and 3622 deletions

16
docs/src/cli/complete.md Normal file
View file

@ -0,0 +1,16 @@
# `tree-sitter complete`
The `complete` command generates a completion script for your shell.
This script can be used to enable autocompletion for the `tree-sitter` CLI.
```bash
tree-sitter complete --shell <SHELL> # Aliases: comp
```
## Options
### `--shell <SHELL>`
The shell for which to generate the completion script.
Supported values: `bash`, `elvish`, `fish`, `power-shell`, `zsh`, and `nushell`.