.nh .TH "GT-ALIAS" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-alias - Create shortcuts for gt commands .SH SYNOPSIS \fBgt alias [flags]\fP .SH DESCRIPTION Create shortcuts for gt commands. .PP An alias expands to a gt command with its arguments before gt runs it: after gt alias set il "issue list --label bug", gt il --state all runs gt issue list --label bug --state all. $1, $2 and so on in the expansion take the arguments in that position; other arguments follow the expansion. Aliases never run a shell, and built-in commands always win over an alias of the same name. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for alias .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 SEE ALSO \fBgt(1)\fP, \fBgt-alias-delete(1)\fP, \fBgt-alias-list(1)\fP, \fBgt-alias-set(1)\fP