mlc icon indicating copy to clipboard operation
mlc copied to clipboard

Option to (maybe conditionally) hide redirects

Open EagleoutIce opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. In our project we have a lot of redirects in our links (most as simple as GitHub redirecting the link to the specific blob). With this, each Pull-Request is cluttered with warnings about the redirect.

Describe the solution you'd like Probably, a flag along the line of --do-not-warn-for-redirect would suffice. Something like --do-not-warn-for-redirect-to "https://github.com/*" similar to the --ignore-links option would be nice too!

Describe alternatives you've considered We could use --ignore-links but with this we loose all information on if the target is reachable or not.

Additional context If desired i can try to implement the feature.

EagleoutIce avatar May 11 '24 15:05 EagleoutIce

Sounds good. I think your proposal with the additional argument sounds like a good idea. If you want and have the time you can create a pr for this. It should not be too hard to implement.

Otherwise I don't know when I will find the time to do it right now to be honest.

becheran avatar May 15 '24 17:05 becheran

With this being part of v0.17.0 (thank you for the release!) - can the issue be closed? Or do you have further plans? :)

EagleoutIce avatar May 20 '24 11:05 EagleoutIce

Yes it is part of 0.17.0. Thanks

becheran avatar May 20 '24 13:05 becheran