---
name: "gt-completion"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-completion"
---

# gt-completion(1)

Generate shell completion scripts

## NAME

gt-completion - Generate shell completion scripts

## SYNOPSIS

**gt completion \[flags\]**

## DESCRIPTION

Generate the completion script of gt for bash, zsh, fish or powershell. Run gt completion \<shell\> --help to see how to load it.

## OPTIONS

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

## OPTIONS INHERITED FROM PARENT COMMANDS

**--debug**\[=false\]\
 	Log the method, URL, status, and duration of each HTTP request to stderr

**--host**=""\
 	Gitea instance **URL**, including any base path

**--interactive**\[=false\]\
 	Allow prompts with machine output

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**--sudo**=""\
 	Perform API requests as this **user** (requires an administrator account)

**--user**=""\
 	Account **name** on the selected instance

## SEE ALSO

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