---
name: "buf-completion"
section: "1"
platform: "linux"
package: "buf"
version: "1.75.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/buf-completion"
---

# buf-completion(1)

Generate auto-completion scripts for commonly used shells

## NAME

buf-completion - Generate auto-completion scripts for commonly used shells

## SYNOPSIS

**buf completion \[flags\]**

## DESCRIPTION

Generate auto-completion scripts for commonly used shells

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for completion

**--help-tree**\[=false\]\
 	Print the entire sub-command tree

## OPTIONS INHERITED FROM PARENT COMMANDS

**--debug**\[=false\]\
 	Turn on debug logging (env BUF\_DEBUG)

**--log-format**="color"\
 	The log format text,color,json ⟨env BUF\_LOG\_FORMAT⟩

**--timeout**=0s\
 	The duration until timing out, setting it to 0 means no timeout (env BUF\_TIMEOUT)

## SEE ALSO

**[buf(1)](/buf/1.md)**, **[buf-completion-bash(1)](/buf-completion-bash/1.md)**, **[buf-completion-fish(1)](/buf-completion-fish/1.md)**, **[buf-completion-powershell(1)](/buf-completion-powershell/1.md)**, **[buf-completion-zsh(1)](/buf-completion-zsh/1.md)**

## HISTORY

2026-10-22 Auto generated by spf13/cobra
