You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's currently quite a bit of hard coding going on in the printing of the hook results. As more and more commands are getting hooks, it's about time this becomes more generalized. Currently, it looks like this:
Ugly to say the least. If the outer if that constrains printing hook results to a few commands is removed, some stuff that we don't want to print is printed (see #699). This is just poorly designed. I think the easiest way to solve this is to:
Standardize the hook results format. It's a bit ad-hoc at the moment.
Add metainfo somewhere about what to print.
The text was updated successfully, but these errors were encountered:
There's currently quite a bit of hard coding going on in the printing of the hook results. As more and more commands are getting hooks, it's about time this becomes more generalized. Currently, it looks like this:
repobee/src/_repobee/cli/dispatch.py
Lines 58 to 68 in 182df3e
Ugly to say the least. If the outer
if
that constrains printing hook results to a few commands is removed, some stuff that we don't want to print is printed (see #699). This is just poorly designed. I think the easiest way to solve this is to:The text was updated successfully, but these errors were encountered: