-
Notifications
You must be signed in to change notification settings - Fork 95
Implemented global --quiet (-q) flag #516
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
base: master
Are you sure you want to change the base?
Conversation
Hi @fernando-villalba @uzaxirr please review this :) |
Hi @kanha-gupta! Thanks for the contribution and sorry for the delay! We will review this shortly 😄 Unfortunately there are some conflicts with the Thanks again! |
Hi @giornetta can you take a look at the approach I have taken ? if you like the approach, I'll go ahead and resolve conflicts. |
@kanha-gupta I personally like the approach. @fulviodenza @uzaxirr what's your take? |
This approach seems fine. but my only concern is too many files being modified in this PR. Can you divide them? |
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.
LGTM
this MR changes the Printing of the output nesting the --quiet logic, so I cannot imagine a way to divide these files, correct me if I'm wrong @uzaxirr |
@alessandroargentieri We can divide this in Multiple PRs, first just a PR to introduce logger in utility and changeing just 2-3 files. and then PRs to change them in resources, ideally i would say one PR for 2 resources. |
Hi @giornetta @alessandroargentieri @uzaxirr Thanks for the review ! |
Not necessary. Me and @uzaxirr clarified on on that point and agreed on merging if you solve the conflicts. Indeed, since it's a single feature, dividing into more than one PR means fragmenting the single feature which is something potentially introducing some refuses. |
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.
LGTM
@alessandroargentieri Thanks for the info. I have resolved merge conflicts. you can merge now :) |
e18f3ae
to
42afc3b
Compare
I would make sure that every I suppose many new features have been added since this PR was opened, so some new functions may not use this new approach |
I wish a rebase has been done and a search all functionality has been used. Isn't it @kanha-gupta ? |
268402d
to
a0ee675
Compare
a0ee675
to
134171c
Compare
I would love that too ! unfortunately, I had to leave few modules due to "import cycle" issue during development.
Except from these, fmt.Print is refactored in every file. Figured out that I'll have to create a new module just for a logger file so skipped these two. |
Fixes #497
The PR is divided in two commits -
Working demo ->