GCLI-ISSUES(1)

πŸ“¦
version 2.13.0 Β· 5 versions
, in nixpkgs unstable, ubuntu stonking

πŸ’– 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, --owner owner β€” 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, --repo repo β€” 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 -n option, leave -n alone she's fine) 🚫
  • -A, --author user β€” only show issues written by this user ✍️
  • -L, --label label β€” filter by this label. ⚠️ you may only specify this once. once. uno. 1️⃣
  • -M, --milestone milestone β€” filter by this milestone. ⚠️ also once only!
  • -S, --assignee assignee β€” filter by this assignee. ⚠️ also also once only!!
  • -n, --count n β€” fetch at least n issues. set n to -1 and 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, --id issue β€” 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, --owner owner β€” tell it who owns the repo you're creating the issue in 🏠
  • -r, --repo repository β€” tell it which repository the issue is getting created in πŸ“¦
  • -T, --template template-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 πŸ”“
  • assign assignee β€” assign the issue to the given assignee (that's a user name btw) πŸ™‹β™€οΈ
  • labels [options] β€” the following options can be specified more than once:
    • add label β€” add the given label to the issue βž•
    • remove label β€” remove the given label from the issue βž–
  • milestone id β€” assign the issue to the milestone with the given id 🏁
  • milestone -d β€” clear the associated milestone of the given issue 🧹
  • notes β€” an alias for the comments action, prints the list of comments associated with the issue πŸ“
  • title new-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 using xdg-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 βœ…
  • due YYYY-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