Diagnostics CLI: Add "Success" output message when no errors found
See original GitHub issueCurrently, the CLI diagnostics command does not return output when no warnings or errors are found. Example:
$ yarn rw diagnostics
yarn run v1.22.4
$ /Users/price/Repos/create-redwood-app/node_modules/.bin/rw diagnostics
✨ Done in 3.07s.
This can cause confusion as to whether anything was run at all and if the project is ok. Improved output may include:
- count of checks run/completed
- count of warnings found
- count of errors found
- 🏆 if everything is good
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Use PowerShell to handle errors generated by a Java CLI ...
Since you're using Start-Process without -Wait , the execution is asynchronous, so you cannot know the full content of the stdout and stderr ......
Read more >Diagnostic messages - IBM
Report output has been saved in data set 'dsname'; CPP0601007E ... RESTORE Confirmation has been denied, SHIP Command will NOT be Executed; CPP0605003I...
Read more >SetupDiag - Windows Deployment - Microsoft Learn
SetupDiag is a diagnostic tool that can be used to obtain details about why a Windows 10 upgrade was unsuccessful.
Read more >Interpret the nrdiag output - New Relic Documentation
screen-nrdiag-output.png. The Diagnostics CLI outputs any issues it found with your installation, along with troubleshooting suggestions.
Read more >11.3 Error Messages or Unexpected Output - Oracle Help Center
The line number changes over time. However, the error indicates that the tool was expecting an integer return value and no value was...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think implementing these enhancements could be implemented between four tickets (1) improve the success state by making it more clear, 2) reformatting the CLI output, and 3 + 4)enhancing the diagnostics to include Prisma and TypeScript checks which could be worked on concurrently).
From a quick read it sounds like this was implemented but there’s still some good ideas here so I won’t close it outright just yet