zlin / wgetpaste

MIT License
34 stars 16 forks source link

Support multiple file API with gists #6

Open unode opened 8 years ago

unode commented 8 years ago

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?

zlin commented 8 years ago

I'm not aware of any that do.