memote icon indicating copy to clipboard operation
memote copied to clipboard

memote should accept standard input

Open Midnighter opened this issue 6 years ago • 3 comments

By accepting a model streamed into memote from standard input, memote can make use of the power of unix piping and it would be trivial to use the docker image by piping in a model and piping out the report.

Midnighter avatar May 14 '18 20:05 Midnighter

What do you mean by standard input?

siddC avatar May 14 '18 21:05 siddC

Every unix program by default has three streams: input, output, and error. When you pipe something into another program this happens via the input, for example, cat password.txt | passwd. In this example the output of cat is piped into the input of passwd.

Midnighter avatar May 15 '18 05:05 Midnighter

Ah I see, you're adding support for piping so memote can be better utilized in workflows! Thanks for the explanation Moritz! And yes, I agree, this a is a very useful feature to have

siddC avatar May 15 '18 12:05 siddC