---
title: "alpacon completion bash"
description: "Generate Alpacon CLI completion for bash. Print the shell script, choose whether to include descriptions, and load it in your shell to complete command names."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon completion bash

Generate the Alpacon completion script for bash.

## Usage

`alpacon completion bash [flags]`

## Key facts

- Print the completion script to stdout.
- Use `--no-descriptions` to omit completion descriptions.
- Requires the `bash-completion` package.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for bash | `false` |
| `--no-descriptions` | `bool` | disable completion descriptions | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

Generate a bash completion script

```bash
alpacon completion bash
```

Load completions in the current shell

```bash
source <(alpacon completion bash)
```

Source: https://docs.alpacax.com/reference/cli/completion/bash/
