GCLI-ISSUES(1)
π GCLI-ISSUES π
okay bestie so this is the GCLI-ISSUES(1) page from the General Commands Manual and it's literally your β¨guideβ¨ to making gcli handle all your issues for you. yes. issues. the bug kind. not the emotional kind (that's a different manpage, and it's therapy). π
β¨ NAME β¨
gcli issues β manage issues across all your various git forges π
πΈ SYNOPSIS πΈ
gcli issues [forge-path] [-n n] [-a] [-s] [-A author] [-L label]
[-M milestone] [-S assignee] [-o owner -r repo]
[search-query]
gcli issues [forge-path] -i issue [-o owner -r repo] actions...
gcli issues [forge-path] create [-o owner -r repo] [-y]
[-T template-file] [issue-title]
no cap, that's the whole vibe right there π
π¦ DESCRIPTION π¦
sooo gcli issues is your girl for searching, listing, creating, editing, or deleting issues in repos across a bunch of different git(1) forges β think GitHub, GitLab, Gitea, the whole lineup π
If you don't specify any action at all, gcli issues will just... list the issues in the repo you gave it, or in the one it auto-detected all by itself. main character energy fr fr π«Ά
and hiii if you're on Bugzilla you can drop the quick-search syntax right into the search-query to get way more fine-grained with your searching β¨ go check βSEE ALSOβ and βEXAMPLESβ below, i got you π
π OPTIONS π
-s,--sortedβ flips the output around so the most recent stuff ends up at the bottom instead of the top π-o,--ownerowner β list issues in the repo belonging to this owner. β οΈ this one only works if you also pass-r, they're a package deal bestie-r,--reporepo β list issues in this repo. β οΈ and this one only works alongside-o. again: package deal π€-aβ list issues disregarding their state, meaning closed ones show up too. cannot be combined with actions. (also it does not touch the-noption, leave-nalone she's fine) π«-A,--authoruser β only show issues written by this user βοΈ-L,--labellabel β filter by this label. β οΈ you may only specify this once. once. uno. 1οΈβ£-M,--milestonemilestone β filter by this milestone. β οΈ also once only!-S,--assigneeassignee β filter by this assignee. β οΈ also also once only!!-n,--countn β fetch at least n issues. set n to-1and you get all of them π³ default:30. heads up though: on big repos, fetching all the issues can take a considerable amount of time and might get you rate limited by the API. see βCAVEATSβ. π-i,--idissue β run the given actions on this specific issue π―
π SUBCOMMANDS π
π create
makes a brand new issue in the repo you gave or the one that got auto-detected β¨ your editor will pop open and ask you to type in an issue message, so get those thoughts ready π
if you leave out the issue title, gcli will interactively prompt you for every single little detail needed to create the issue. so conversational. so attentive. π«Ά
the following flags can be specified:
-o,--ownerowner β tell it who owns the repo you're creating the issue in π-r,--reporepository β tell it which repository the issue is getting created in π¦-T,--templatetemplate-file β use this template-file as the template for the issue message body π-y,--yesβ no confirmation before creating the issue, just assume yes and GO πβοΈπ¨
π₯ ACTIONS π₯
actions... can be one or more of these bad boys:
allβ show both a summary and the original post of the issue πcommentsβ print a list of the comments sitting under the issue π¬statusβ print a short lil summary of the issue πopβ print the original post of the issue π°closeβ close the issue πreopenβ reopen an issue that got closed πassignassignee β assign the issue to the given assignee (that's a user name btw) πβοΈlabels[options] β the following options can be specified more than once:addlabel β add the given label to the issue βremovelabel β remove the given label from the issue β
milestoneid β assign the issue to the milestone with the given id πmilestone -dβ clear the associated milestone of the given issue π§Ήnotesβ an alias for thecommentsaction, prints the list of comments associated with the issue πtitlenew-title β change the title of the issue to new-title βοΈattachmentsβ list bug attachments. β οΈ this action is only available on Bugzilla πopenβ open the issue in a web browser usingxdg-open(1)πeditβ open the original post in an editor to edit it. after you save and exit, the original post gets updated when you confirm it βdueYYYY-mm-dd β set the issue to be due on the given date π
π EXAMPLES π
print a list of issues in the current project:
$ gcli issues
search for issues containing βcrashβ in contour-terminal/contour on GitHub, including closed issues:
$ gcli -t github issues -o contour-terminal -r contour -a crash
list issues in herrhotzenplotz/gcli on GitLab using the forge path shorthand:
$ gcli issues gl:herrhotzenplotz/gcli
report a new issue in the current project; interactively asking for details:
$ gcli issues create
report a new issue titled βsummary hereβ in the current project:
$ gcli issues create "summary here"
print both a summary and comments of issue 1 in herrhotzenplotz/gcli:
$ gcli issues -o herrhotzenplotz -r gcli -i 1 status comments
add the labels βfooβ and βbarβ to the issue with id 420:
$ gcli issues -i420 labels add foo add bar
list issues with the label βbugβ:
$ gcli issues -L bug
search for Bugzilla Bugs in product βfooβ with βRandomUserβ set in CC:
$ gcli -t bugzilla issues product:foo cc:RandomUser
π SEE ALSO π
git(1), gcli(1), Bugzilla QuickSearch Syntax: https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html
π AUTHORS π
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors. iconic behavior, thank you for your service π«‘
π CAVEATS π
GitHub and Gitea treat Pull Requests as Issues. π and because of how gcli issues works semantically, the issues that are actually PRs get dropped from the output. when that happens, a note gets printed telling you how many were dropped, so you're not left wondering. and if that warning is annoying you, you can suppress it with the -q program option π€«
π BUGS π
GitHub only supports removing labels from issues one by one. brutal, i know π but if you still wanna remove multiple issues in a single gcli call, you can do something like this:
$ gcli issues -i42 \
labels remove bug \
labels remove foo
please report bugs via E-Mail to https://lists.sr.ht/~herrhotzenplotz/gcli-discuss π§
alternatively you can report them on any of the forges linked at https://sr.ht/~herrhotzenplotz/gcli π¦ however, the preferred and quickest method is the mailing list. periodt π
okay that's the whole thing, bestie β this page is from gcli 2.13.0 and it's dated 05-Aug-2026, and it lives in the GCLI-ISSUES(1) section of the manual. now go close some issues β¨π«Άπ
π¦ where this page comes from
- nixpkgs unstable: gcli 2.13.0
- ubuntu stonking: gcli 2.13.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms