`gh {pr,issue} comment` file attachements · Issue #4465 · cli/cli · GitHub
Skip to content

gh {pr,issue} comment file attachements #4465

Description

@austince

Describe the feature or problem you’d like to solve

Often attaching files to comments is helpful. It would be great to be able to do this from the CLI.

Proposed solution

Like gh pr create, we could have a What's next? section that allows attaching local file, as well as a flag.

The CLI may actually be able to provide a better experience than the web UI, which can only handle a certain number of file extensions. If a file extension is not supported, the CLI could quickly zip it up and attach it transparently.

Details Currently Supported: GIF, JPEG, JPG, MOV, MP4, PNG, CSV, DOCX, FODG, FODP, FODS, FODT, GZ, LOG, MD, ODF, ODG, ODP, ODS, ODT, PDF, PPTX, TXT, XLS, XLSX or ZIP.

Powerpoint but not JSON??

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions