# completion

Output shell completion code

## Usage

```bash
apolo completion [OPTIONS] COMMAND [ARGS]...
```

Output shell completion code.

**Commands:**

| Usage                   | Description                              |
| ----------------------- | ---------------------------------------- |
| [*generate*](#generate) | Show instructions for shell completion   |
| [*patch*](#patch)       | Patch shell profile to enable completion |

### generate

Show instructions for shell completion

#### Usage

```bash
apolo completion generate [OPTIONS] {bash|zsh}
```

Show instructions for shell completion.

#### Options

| Name     | Description                 |
| -------- | --------------------------- |
| *--help* | Show this message and exit. |

### patch

Patch shell profile to enable completion

#### Usage

```bash
apolo completion patch [OPTIONS] {bash|zsh}
```

Patch shell profile to enable completion

Patches shell configuration while depending of current shell. Files patched:

bash: `~/.bashrc` zsh: `~/.zshrc`

#### Options

| Name     | Description                 |
| -------- | --------------------------- |
| *--help* | Show this message and exit. |
