---
title: "alpacon completion"
description: "Generate Alpacon CLI completion scripts for bash, fish, PowerShell, or zsh. Choose your shell, inspect the flags, and load a script to complete command names."
---

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

# alpacon completion

Generate shell completion scripts for Alpacon commands.

## Usage

`alpacon completion [command]`

## Key facts

- Choose `bash`, `fish`, `powershell`, or `zsh`.
- Load the generated script in the matching shell to enable tab completion.

## Flags

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

## Examples

Generate a bash completion script

```bash
alpacon completion bash
```

## Related commands

  
    Generate the autocompletion script for bash
  
  
    Generate the autocompletion script for fish
  
  
    Generate the autocompletion script for powershell
  
  
    Generate the autocompletion script for zsh

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