coala / coala-quickstart

A tool that generates an initial coala config file for you!
GNU Affero General Public License v3.0
47 stars 76 forks source link

non interactive mode will cause the list of bears to be printed 2 times #220

Open ishanSrt opened 6 years ago

ishanSrt commented 6 years ago

Once with unusable and the next time after removing the unusable bears

tallicamike commented 6 years ago

I've played a bit with the printing of bears and I feel there are 3 options for fixing this:

I would prefer options 3 or 2, as the first one may mislead the user into thinking that no other bears are available. What are your thoughts on this?

tallicamike commented 6 years ago

I feel that this is a bit over-engineered, but I thought it might be useful for print_relevant_bears to be extensible, also it is more of proof of concept as I haven't yet added testing. Any feedback/review would be greatly appreciated.