Add support for standard input on audit mode #199
Labels
enhancement
The issue is related to improving a certain aspect of the project.
help wanted
Indicates that we would like someone that’s not a maintainer to work on the issue.
triaged
The issue has been reviewed but has not been solved yet.
Supporting standard input on audit mode would make detect-secrets pipe-able and a little more Unix-like. I thought about this while commenting on #198... If I just want to audit the results, being able to pipe scan mode to audit mode and skip saving a temporary baseline would be cool.
detect-secrets scan | detect-secrets audit
Actually, audit mode supports reading a baseline from a file for getting the original_baseline, as seen here:
detect-secrets/detect_secrets/core/audit.py
Line 179 in 13575ed
The text was updated successfully, but these errors were encountered: