> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Voltooiing

# `openclaw completion`

Genereer shellcompletion-scripts en installeer ze optioneel in je shellprofiel.

## Gebruik

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw completion
openclaw completion --shell zsh
openclaw completion --install
openclaw completion --shell fish --install
openclaw completion --write-state
openclaw completion --shell bash --write-state
```

## Opties

* `-s, --shell <shell>`: doel-shell (`zsh`, `bash`, `powershell`, `fish`; standaard: `zsh`)
* `-i, --install`: installeer completion door een source-regel aan je shellprofiel toe te voegen
* `--write-state`: schrijf completion-script(s) naar `$OPENCLAW_STATE_DIR/completions` zonder naar stdout te printen
* `-y, --yes`: sla bevestigingsprompts voor installatie over

## Opmerkingen

* `--install` schrijft een klein blok "OpenClaw Completion" naar je shellprofiel en laat het verwijzen naar het gecachete script.
* Zonder `--install` of `--write-state` print de opdracht het script naar stdout.
* Completion-generatie laadt opdrachtbomen meteen, zodat geneste subopdrachten worden meegenomen.

## Gerelateerd

* [CLI-naslag](/nl/cli)
