Output options
... or how to change secator's console output.
Last updated
... or how to change secator's console output.
Last updated
secator
is built to be flexible in terms of output options.
The default secator
output is the Output types repr
function. It is supposed to be pretty and readable to quickly understand secator
's findings:
Unicode icons are printed before each result to distinguish each output type:
When an output type has a low confidence
, the output will be dimmed:
-json
)You can use -json
to output live results as JSON lines:
JSON lines output is pipeable / streameable to other tools like jq
.
-raw
)You can use -raw
to output live results in plaintext format:
Raw output is saveable to txt files or can be used for chaining tasks using UNIX pipes.
-fmt
)You can use -fmt
to output live results in a format of your choice:
Custom formatting is based on the Output types fields.