***

title: completion command reference
approved: 2025-05-30T00:00:00.000Z
max-toc-depth: 2
----------------

The `completion` command generates the autocompletion script for The Postman Insights Agent in the specified shell. See each sub-command's help for details on how to use the generated script.

## Usage

```bash
postman-insights-agent completion [command] [flags]
```

## Available commands

* `bash` - Generates the autocompletion script for `bash`.
* `fish` - Generates the autocompletion script for `fish`.
* `powershell` - Generates the autocompletion script for `powershell`.
* `zsh` - Generates the autocompletion script for `zsh`.

## Flags

* `-h`, `--help` - Help for `completion`.

## Global flags

* `--log-format string` - Set to `'color'`, `'plain'` or `'json'` to control the log format.
* `--project string` - Your Postman Insights project ID.
* `--proxy string` - The domain name, IP address, or URL of an HTTP proxy server to use.
