magika icon indicating copy to clipboard operation
magika copied to clipboard

Discuss adding `--check-text` CLI option

Open reyammer opened this issue 2 years ago • 0 comments

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

reyammer avatar Mar 13 '24 13:03 reyammer