Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Add options --no-progress and --quiet #99

Open
MetalArend opened this issue May 4, 2017 · 5 comments
Open

Add options --no-progress and --quiet #99

MetalArend opened this issue May 4, 2017 · 5 comments

Comments

@MetalArend
Copy link

As mentioned in #73, it would be handy to have an option to disable the progress output.

--no-progress to disable the output of the progress bar
--quiet to disable all output that are not errors

So using only --no-progress could perhaps return some success message, while --quiet only outputs errors if there are any.

WDYT?

@grogy
Copy link
Contributor

grogy commented May 20, 2017

Is possible to add it. But my first question will be for using - why do you want it? Maybe will we find better solution. :-)

@MetalArend
Copy link
Author

It would be very handy to be able to avoid obsolete output inside CI logs, without hiding the more important output of the lint tool (that would possibly be hidden when using grep filters or redirections to /dev/null).

@grogy
Copy link
Contributor

grogy commented May 25, 2017

--no-progress is good idea from my opinion. We can create a PR.
--quiet - it's look too magic. Do you using another tool whit this option / behaviour?

@JakubOnderka
Copy link
Owner

--no-progress was added to current master. I think, --quiet is not now necessary, but maybe in future will be added.

@MetalArend
Copy link
Author

--quiet would give you the possibility to not show any output as long as there are no errors. In such circumstances your exit code would not error out as always, but with this flag enabled it will also not write anything to your logs.

Thanks for adding the --no-progress, that's what I originally created the issue for, adding the --quiet flag was just for completeness (I figured once you're in there, better solve them all :p).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants