-
Notifications
You must be signed in to change notification settings - Fork 89
Updating printing #481
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
Updating printing #481
Conversation
a503073
to
9990d81
Compare
9990d81
to
8552b76
Compare
The test failure here is strange. I don't see how what you did caused that, but we aren't seeing it on other runs. I don't have time to investigate today, curious if you can figure out what's going on. |
Got curious and tried this locally. I was able to reproduce, so should be easy to track down when you have time. Just make sure you have |
1b21683
to
abbd73d
Compare
@shanemcd I found the issue. There were two print commands in the format |
Changing from
print
toclick.echo
.Adding printWarning method (prints magenta) and printError method (prints red) to distinguish messages.
Implemented our own pprint method to use click.echo w/ json.dumps.
Added a few try/catch blocks to grab some errors found during testing.
Added two spaces to fix column headers in status command.