You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that, by default, reads its input from stdin and writes its output to stdout. When it does that, I would like it to send a message to the user so that he doesn't sit mindlessly in front of a terminal, waiting for my app/gradle to finish initialization.
The way I used to solve this, while using option(...).inputStream().defaultStdin(), was absolutely disgusting and less than ideal:
An alternative is to override every extension, create my own, identical stream proxy and compare it directly with an option (which is what I'm doing right now, but on a larger scale):
I have an app that, by default, reads its input from stdin and writes its output to stdout. When it does that, I would like it to send a message to the user so that he doesn't sit mindlessly in front of a terminal, waiting for my app/gradle to finish initialization.
The way I used to solve this, while using
option(...).inputStream().defaultStdin()
, was absolutely disgusting and less than ideal:An alternative is to override every extension, create my own, identical stream proxy and compare it directly with an option (which is what I'm doing right now, but on a larger scale):
Can such a mechanism be provided and exposed directly in Clikt?
The text was updated successfully, but these errors were encountered: