# ccp completions



{/* Generated by scripts/sync-cli-reference.ts */}

Generate shell completions

```text
Usage: ccp completions [OPTIONS] <SHELL>
```

| Argument   | Type or values                      | Default | Parser environment variable | Description                       |
| ---------- | ----------------------------------- | ------- | --------------------------- | --------------------------------- |
| shell      | bash, elvish, fish, powershell, zsh | —       | —                           | Shell to generate completions for |
| --help, -h | flag                                | —       | —                           | Print help                        |

## Example [#example]

```bash
ccp completions bash
```

## Global options [#global-options]

Set `CCP_CONTEXT` to choose a named context. An explicit `--context` takes precedence. See [organization selection](/docs/ccp/organizations) for organization defaults.

| Argument  | Type or values | Default | Parser environment variable | Description                                         |
| --------- | -------------- | ------- | --------------------------- | --------------------------------------------------- |
| --context | text           | —       | —                           | Select a developer context from \~/.ccp/config.toml |
