GCLI-ATTACHMENTS(1)
β¨ GCLI-ATTACHMENTS β¨
ok so real talk, this is the gcli-attachments page, and yeah it lives in the big book of General Commands, but honestly? it's giving "your bestie who handles your Bugzilla attachments so you don't have to". no cap. π
πΈ NAME πΈ
gcli attachments β create, view or update Bugzilla attachments. that's the whole job. that's the vibe. π¦
β¨ SYNOPSIS β¨
gcli attachments -i attachment actions...
gcli attachments create -f file -s summary -i bug-id [-p] [-P]
[-c comment] [fl C content-type] [-F filename]
π DESCRIPTION π
so gcli attachments is your girl for managing Bugzilla attachments. every attachment gets its own unique ID, bestie β that's how we find them. and here's the cute part: you can associate attachments with one or more bugs. multitasking icon behavior, honestly. π
π OPTIONS π
-i,--idβ run your actions on the attachment with the ID you give it. that's the target. that's the moment. β¨
π SUBCOMMANDS π
create
creates an attachment. like, makes one. from scratch. out of nothing. main character energy fr fr. π«Ά
the following flags can be specified:
-s,--summarysummary β the summary of the attachment. yes you need one, no you can't skip the vibes-check. π-f,--filepath β upload the given file as the attachment content. and yes, you can also use-to read the content from stdin β very "piping things into me" of you, slay. π-i,--idbug-id β upload the attachment for the given bug-id. that's where it's going. π-F,--filenamefilename β when you upload a file,gcli attachmentsgrabs the filename from-fand hands it over to Bugzilla.-Flets you pass a different file name and override whatever name-fgave you. this is lowkey essential when the content is coming from stdin, bc stdin doesn't have a filename, bestie. π-c,--commentcomment β a comment for the attachment. say something nice. or unhinged. your call. π¬-C,--content-typecontent-type β the content type of the attachment. heads up: this option gets set automatically when-pis set. but if-pis not set, then this one is mandatory. no content-type, no service. π-p,--patchβ the attachment is a patch. the way that this means you do not need to specify a content-type via-C?? iconic. automatic. we love her. π₯-P,--privateβ the attachment is private. π€«
π¦ ACTIONS π¦
actions... may be one or more of these, k? mix and match, go wild:
obsoleteβ mark the attachment as obsolete. it's over, it's not coming back, periodt. πget [-o output]β print or download the attachment content. when-ois specified, the contents get written to the given file instead. download girlie behavior. β
π§ EXAMPLES π§
print the content of attachment with ID 42:
$ gcli att -i 42 get
create an attachment for bug 22 from a git diff:
$ git diff | gcli att create -f - -F gcli.diff -i 22 -s 'git diff' -p
mark attachment 100 as obsolete:
$ gcli att -i 100 obsolete
π SEE ALSO π
(yeah there's a trailing comma, she's mysterious like that π)
π AUTHORS π
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors. screaming, crying, throwing up β thank you for your service. π«Ά
πΈ BUGS πΈ
there are a lot of features missing in this subcommand. not me exposing my own flaws in the documentation π it's called transparency and we're obsessed with it.
ok that's the whole page bestie, mwah π this was gcli version 2.13.0, dated 05-Aug-2026, and honestly? she ate. go attach something. β¨ππ¦
π¦ 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