Display error messages from new_project.kts in red text instead of the default color #271
Replies: 6 comments 4 replies
-
@ryan-conway Cool! 🤩 I like the idea, but I prefer keeping the script simple by not requiring an external library. So my vote is "No", and prefer going with emojis (ex: ❌ or 🔴) |
Beta Was this translation helpful? Give feedback.
-
@nimblehq/android-chapter For those who voted "Yes", which approach do you guys prefer?
|
Beta Was this translation helpful? Give feedback.
-
I voted No. I don't see many CLIs showing error messages in red. We might spend unnecessary effort on this 🙏 |
Beta Was this translation helpful? Give feedback.
-
Displaying error text with a noticeable sign is a good approach, but using another library to achieve it might be unnecessary. So my vote for this RFC is |
Beta Was this translation helpful? Give feedback.
-
@ryan-conway Voting completed, I'll leave it up to you to resolve this discussion 🚀 |
Beta Was this translation helpful? Give feedback.
-
Issue created: #437 |
Beta Was this translation helpful? Give feedback.
-
When running
new_project.kts
, it runs multiple steps, including but not limited to:Suppose one of these steps fails, it will print a message saying what went wrong:
We could update the message to appear in red text so that the error will be more apparent if one occurs:
Advantage?
When an error occurs, it will be much more obvious to the end user that something went wrong.
Would also help mitigate the disadvantage on #268.
Disadvantage?
May not display correctly with the default Windows terminal without using external libraries. (source)
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions