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

# completion bash

> Generate bash autocompletion script for the FlexAI CLI

Generate the autocompletion script for the bash shell.

## Usage

```bash theme={null}
flexai completion bash [flags]
```

## Flags

| Flag                | Short | Type    | Description                     |
| ------------------- | ----- | ------- | ------------------------------- |
| `--help`            | `-h`  | boolean | Displays this help page.        |
| `--no-descriptions` |       | boolean | Disable completion descriptions |
| `--verbose`         | `-v`  | boolean | Enable verbose logging          |

## Examples

### Generate a bash completion script

```bash theme={null}

flexai completion bash > flexai-completion.bash && \
  mkdir -p  ~/.local/share/bash-completion/completions && \
  mv flexai-completion.bash ~/.local/share/bash-completion/completions/flexai && \
  source ~/.bashrc 

```
