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

# completion

# `openaeon completion`

Generate shell completion scripts and optionally install them into your shell profile.

## Usage

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

## Options

* `-s, --shell <shell>`: shell target (`zsh`, `bash`, `powershell`, `fish`; default: `zsh`)
* `-i, --install`: install completion by adding a source line to your shell profile
* `--write-state`: write completion script(s) to `$OPENAEON_STATE_DIR/completions` without printing to stdout
* `-y, --yes`: skip install confirmation prompts

## Notes

* `--install` writes a small "OpenAEON Completion" block into your shell profile and points it at the cached script.
* Without `--install` or `--write-state`, the command prints the script to stdout.
* Completion generation eagerly loads command trees so nested subcommands are included.
