Skip to content

Conversation

@alexandre3920
Copy link

Hi 👋 ,

While I tried to debug #93, I noticed the sources displayed in the verbose output were not correct.
The deprecated field source from pysentry::cli::Auditargs was displayed instead of sources.

In this PR I propose (very small) changes in src/cli.rs to fix that.
I also tried to include tests to validate the changes following the way tests are implemented. In order to do that I added to dev dependencies : assert_cmd and predicates.
As my experience with rust is small, I'm not so sure the way I fix the sources display and the tests is ok (especially the tests 😄).

Do not hesitate to give me feedbacks if the proposal is ok but you would like me to make changes !

Regards

@nyudenkov
Copy link
Owner

Hi! Thanks for your contribution ;)
I'll check your PR today

@nyudenkov nyudenkov merged commit 93eeea1 into nyudenkov:dev Oct 29, 2025
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