Grepable output and quiet mode#38
Open
SafeEval wants to merge 2 commits intopsypanda:masterfrom
SafeEval:quiet-grep-options
Open
Grepable output and quiet mode#38SafeEval wants to merge 2 commits intopsypanda:masterfrom SafeEval:quiet-grep-options
SafeEval wants to merge 2 commits intopsypanda:masterfrom
SafeEval:quiet-grep-options
Conversation
Collaborator
|
I'm not the original developer of this project, but remembered I do have commit access. I may try to take up maintenance of this project and address these issues and pull requests. Thanks for your contributions. I wonder if a JSON or CSV output format might be better. CSV is still one record per line so you could use grep to parse it if you wanted. |
Author
|
I'm glad you have the ability to keep the project going. I agree that both JSON and CSV would be better output formats, and have standard libraries in Python 2/3, so no new dependencies would be required, What do you think about adding both, and using flags similar to nmap for controlling the output format? Something like: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm not sure if this project is still being maintained, but thought I'd pass these contributions along anyway.
To make the tool easier to script, I added grepable output (similar to nmap's) and a "quiet mode" that suppresses the display of unknown hashes.
Regular output, with the
-mand-joptions.Output with the grepable option enabled.