.nh .TH "GT-VARIABLE" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-variable - Manage Actions variables for a repository, organization, or your account .SH SYNOPSIS \fBgt variable [flags]\fP .SH DESCRIPTION Manage the Actions variables that workflows read with ${{ vars.NAME }}. .PP A variable belongs to a repository, to an organization (--org), whose repositories all see it, or to your user account (--account), which all your repositories see. Without --org or --account, gt uses the repository of the working directory or --repo. Names are stored upper-cased. .PP Note that the global --user flag selects the account gt acts as, not a scope. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for variable .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \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--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .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 SEE ALSO \fBgt(1)\fP, \fBgt-variable-delete(1)\fP, \fBgt-variable-get(1)\fP, \fBgt-variable-list(1)\fP, \fBgt-variable-set(1)\fP, \fBgt-variable-view(1)\fP