Skip to content

Conversation

@le-lenn
Copy link
Contributor

@le-lenn le-lenn commented Dec 21, 2025

Addresses #628

Approach

I looked into how shouterrr pretty-prints its verify function and tried to find the best poor-mans approach to it.

I wanted to add a little bit of formatting, because without any formatting, the output is pretty hard to read. So I landed on a basic regex based formatter.
I played around with coloring the output as well, but I ended up with a lot of code for a nice-to-have, so I removed it again.

@m90
Copy link
Member

m90 commented Dec 22, 2025

Just wanted to let you know I will need some more time in order to do a proper review here. I'm very happy the PR is here in any case.

@le-lenn
Copy link
Contributor Author

le-lenn commented Dec 22, 2025

No worries, frohe Weihnachten!

btw I’m not too happy with the flag parsing, I think my implementation could be improved

}

for _, config := range configurations {
if config == nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can config ever be nil since there are many default values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants