-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add option and CLI flag to hide command output #173
Add option and CLI flag to hide command output #173
Conversation
Pull Request Test Coverage Report for Build 325
💛 - Coveralls |
1 similar comment
Pull Request Test Coverage Report for Build 325
💛 - Coveralls |
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.
This PR is awesome! Thanks for taking the stab!
I'm curious about this:
This is not a complete PR because some edge cases might be missing and the documentation is incomplete for this part
What else do you think should be covered by your PR?
I only miss some functional tests, that make sure the CLI flag will work,
but I'm happy to know your input!
I was just pointing out that I'm not confident that all use cases have been covered. :) If you feel it's complete then it's all good. I added some functional tests and they seem to work fine. While doing that, I noticed that because However, I was left wondering if this kind of behaviour is fine, because it kind of conflits with |
Awesome job, I would love to see this merged. However, I would expect the name of the flag to be "quiet" and not "hide". Thoughts? |
Sure. I just went with "hide" since it was suggested in #138. I guess CLI tools usually use |
This use-case is very ideal for me, so is there anything that still needs to be done for this PR? |
From my part I only need to know if we want to use |
I think |
Very useful PR why you not merge it @kimmobrunfeldt @gustavohenke ? |
@kimmobrunfeldt any chance merging this? It would be really great to have it! |
@firoxer can you resolve merge conflicts? |
@cben Sure, done. |
This is an amazing feature we're waiting for :) |
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.
Wow. Nearly 3 years later... I pushed some small changes, most notably not using the yargs array type.
LGTM now, let's ship it.
I feel bad that I needed the harsh COVID-19 restrictions in Sydney + a rainy long weekend for me to do this
Published in |
Hi,
I noticed #138 and thought it might be doable. Here's a proof-of-concept that does the job as proposed by @gustavohenke in the aforementioned issue.
This is not a complete PR because some edge cases might be missing and the documentation is incomplete for this part. I'll get to them if I get an OK on the POC.
Issue #25 is affected by this PR as well, as the proposed
--hide
flag allows for implementing--silent/-s
more easily.Thanks for creating concurrently!