# cldkctl completion

The completion command generates an autocompletion script for the cldkctl CLI, allowing you to enable command-line autocompletion for your preferred shell. This helps users type commands faster and with fewer errors by automatically suggesting available commands and flags as they type. You can generate completion scripts for various shells, such as bash, zsh, fish, and PowerShell.

## Usage

```
cldkctl completion [command]
```

## Available command

| Column                          | Description                                        |
| ------------------------------- | -------------------------------------------------- |
| `cldkctl completion bash`       | Generate the autocompletion script for Bash.       |
| `cldkctl completion fish`       | Generate the autocompletion script for Fish shell. |
| `cldkctl completion powershell` | Generate the autocompletion script for PowerShell. |
| `cldkctl completion zsh`        | Generate the autocompletion script for Zsh.        |

## Flags

{% hint style="info" %}
This command supports global flags. Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                      |
| ---------- | -------------------------------- |
| -h, --help | Help for the completion command. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-completion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
