Open ibeex opened 7 years ago
Supporting piping is high on the requested features list. We don't have a final design in place yet for what the syntax will be, so I'm open to suggestions if you have ideas.
Some of the questions we have to answer:
Oh! I misunderstood your request. You can use - as a parameter as long as you change the separator to something else.
e.g. "echo 'one line' | python3 test.py - -- --separator=X"
should do the trick.
We don't have a supported way of changing the default separator at the moment.
I was thinking maybe something like in http://click.pocoo.org/5/arguments/#file-arguments regarding pipe input.
as stated here https://docs.python.org/3/library/fileinput.html sometimes
should use std in instead file for input or output