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
Tracking install progress with ndjson
reporter
#3822
Comments
Related #2705 |
What would you use it for? Some commands already support |
Sorry for delayed response!
I just want to build some kind of extension that would automatically run
Indeed, my feature request was too wide. I actually wanted to request something similar to #139. |
You can create a custom reporter that will consume the |
However, can {"type":"progressStart","data":{"id":0,"total":109}}
{"type":"progressTick","data":{"id":0,"current":1}}
...
{"type":"progressTick","data":{"id":0,"current":109}}
{"type":"progressFinish","data":{"id":0}} With these data given, I can easily display the progress bar. In case of pnpm, it outputs |
Thank you for quick reposnse! I will update the title and body for visibility. |
--json
flagndjson
reporter
Describe the user story
Required for integration with third-party tools. For example yarn support
--json
flag for installation command:The main purpose for my tool is to know the progress of specifc action (installation / removing etc)
Describe the solution you'd like
Implement
--json
flag for every command.Describe the drawbacks of your solution
Probably maintainability.
Describe alternatives you've considered
No alternatives or workarounds.
The text was updated successfully, but these errors were encountered: