GT-PR-COMMENT-ATTACHMENT(1) gitea-cli Manual GT-PR-COMMENT-ATTACHMENT(1)

gt-pr-comment-attachment - Manage the attachments of comments

gt pr comment attachment [flags]

List, view, upload, download, rename and delete the files attached to a comment. Attachments are addressed by the comment ID that comment list shows and the attachment ID that attachment list shows.

-h, --help[=false] help for attachment

--cwd="" Working directory for repository discovery

--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

--remote="" Git remote used for repository discovery

-R, --repo="" Select a repository as OWNER/REPO or URL

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

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

gt-pr-comment(1), gt-pr-comment-attachment-delete(1), gt-pr-comment-attachment-download(1), gt-pr-comment-attachment-edit(1), gt-pr-comment-attachment-list(1), gt-pr-comment-attachment-upload(1), gt-pr-comment-attachment-view(1)

Nov 2026 gitea-cli