wgetpaste icon indicating copy to clipboard operation
wgetpaste copied to clipboard

Support multiple file API with gists

Open unode opened this issue 9 years ago • 1 comments

Currently when wgetpaste is called with multiple input files, it concatenates all output and uploads it as a single file with cat filename as beginning of file marks.

If the files are of different types or from different languages, when uploading to gist.github.com, the syntax highlighting engine there has a hard time and often makes the paste hard to read.

Since gists support upload of multiple files by passing multiple entries in the "files" section of the json payload, I'd like to request support for this in wgetpaste instead of the concatenating approach.

I am not familiar with the other pasting engines. Do they also have some kind of multiple file support?

unode avatar Jul 24 '16 17:07 unode

I'm not aware of any that do.

zlin avatar Aug 07 '16 19:08 zlin