.nh .TH "GT-COMPLETION-BASH" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-completion-bash - Generate the autocompletion script for bash .SH SYNOPSIS \fBgt completion bash [flags]\fP .SH DESCRIPTION Generate the completion script for bash. It needs the bash-completion package. .PP To load completions in every new shell, add the eval line below to ~/.bashrc (on macOS, ~/.bash_profile); bash 3.2, the default on macOS, cannot source <(gt completion bash). .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for bash .PP \fB--no-descriptions\fP[=false] Disable completion descriptions .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX $ eval "$(gt completion bash)" .EE .SH SEE ALSO \fBgt-completion(1)\fP