Keeping the app responsive when piping input on startup #5302
-
I already have a functioning app, that can read data from file. To fit the workflow better I'd like to be able to pipe data into the app. Reading from stdin before starting the app stops the call from being interactive. Changing from:
To:
I have tried around a bit and it would still be possible to read directly from |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thank you for your issue. Give us a little time to review it. PS. You might want to check the FAQ if you haven't done so already. This is an automated reply, generated by FAQtory |
Beta Was this translation helpful? Give feedback.
-
Have a look at how Toolong does it https://github.com/Textualize/toolong/blob/main/src/toolong/cli.py |
Beta Was this translation helpful? Give feedback.
Have a look at how Toolong does it https://github.com/Textualize/toolong/blob/main/src/toolong/cli.py