magika
magika copied to clipboard
Discuss adding `--check-text` CLI option
References: #298, #294.
nhonx: "It makes sense, but I think sometimes users want to output it to CLI for pipe it with awk or something. If so, only adding new field to json will not help so much, correct?"
My question: But I'd like to understand a bit more what would be the use case and the expected usage. Can you provide a concrete example on how you chain magika with awk? The other thought: if it's supposed to be used in an automated way, then the output should likely be something easily parsable (like json, e.g., with jq), and not a modification of the human description (as in your PR)?
/cc @nhonx