Closed gleitz closed 3 years ago
So here's my design idea for that feature (two birds one stone):
--explain
, nothing new happens--explain
: show where the answer came from--explain
): show where the answer was supposed to come from (plus the error?)This would introduce the new functionality and also fix problems like #331.
Might be interesting to also show counts (hits on search, answers on Stack Overflow, etc)
I think that https://github.com/gleitz/howdoi/pull/344 is most of the way there. We'll need to look at what happens when you search for a query that returns nothing
python -m howdoi.howdoi ksjfksdjfksd fkdsj -x
cc @KimaruThagna
We also want to not show (use --explain to learn why)
when you have already passed -x
@gleitz do you mind assigning this to MLH fellow @KimaruThagna
Yes, this is very close and I would like @KimaruThagna's help. BTW I for some reason can't use the Assignees section so I just mention you in the comment here.
I think @KimaruThagna needs to have replied to (aka participated in) this issue at some point so we can assign him.
Proposed PR: https://github.com/gleitz/howdoi/pull/381
Would be nice to pass a flag (--explain) and get the way that howdoi chose the answer.