-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn if input @Parameters is empty and interactive tty #1612
Comments
I would put that logic in the |
@heuermh Perhaps I misunderstood your question... If you need more fine-grained information, you can use the Jansi library; it has an You would call that method and, if the process is not connected to a TTY, then do not start reading from STDIN. As for the place to put this logic, I would put it in the business logic of the application, so in the Hope that is useful. |
Thank you for the feedback! Yes, I was looking into My thinking was that checking if |
Sounds great, go for it! |
@heuermh Are you okay to close this ticket? |
Please do, thanks! |
I am thinking on how best to implement this recommendation:
https://clig.dev/
Is
@IExecutionStrategy
the right extension point for this?Thank you in advance!
The text was updated successfully, but these errors were encountered: