-
Notifications
You must be signed in to change notification settings - Fork 23
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
Added chalk for pretty output colors #21
Conversation
console.log("Error: Wanted " + name + " version " + raw + " (" + range +")"); | ||
console.log(PROGRAMS[name].getInstallInstructions(raw)); | ||
console.error(chalk.red.bold("Error: Wanted " + name + " version " + raw + " (" + range +")")); | ||
console.log(chalk.red.bold(PROGRAMS[name].getInstallInstructions(raw))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just the error message should be red and the installation instructions could be normal color? Or are you thinking more red to grab attention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking more red to grab attention. Otherwise it felt like "info" text along with the rest of the display.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me! Thanks for adding this.
Published as v3.1.0. |
This looks really nice! |
Fixed #18.
Might want to be verified by someone on a *nix machine that it isn't atrocious there... but it's through chalk so I doubt it.