.nh .TH "GT-ISSUE-ATTACHMENT" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-issue-attachment - Manage the attachments of issues .SH SYNOPSIS \fBgt issue attachment [flags]\fP .SH DESCRIPTION List, view, upload, download, rename and delete the files attached to an issue. Attachments are addressed by the issue number and the attachment ID that attachment list shows. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for attachment .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-issue(1)\fP, \fBgt-issue-attachment-delete(1)\fP, \fBgt-issue-attachment-download(1)\fP, \fBgt-issue-attachment-edit(1)\fP, \fBgt-issue-attachment-list(1)\fP, \fBgt-issue-attachment-upload(1)\fP, \fBgt-issue-attachment-view(1)\fP