postmanerator icon indicating copy to clipboard operation
postmanerator copied to clipboard

Writes to `stdout`—yay!—read from `stdin`—aww ☹️

Open nutjob4life opened this issue 1 year ago • 0 comments

Postmanerator's -help says:

  -output string
    	the output file, default is stdout

This is great for using Postmanerator in an automated pipeline—except there's no way for the program to read from the standard input, which seems like an imbalance.

The Unixism of saying -collection - with - being an abbreviation for stdin doesn't cut it either:

Failed to parse collection file: open -: no such file or directory

nutjob4life avatar May 04 '23 20:05 nutjob4life