saf icon indicating copy to clipboard operation
saf copied to clipboard

Print Pretty STDOUT and JSON file writting

Open aaronlippold opened this issue 2 years ago • 2 comments

Use jq or simular to format the output prior to printing to STDOUT or file writting so we don't have to do it in the pipeline or scripts in use.

aaronlippold avatar Feb 05 '22 16:02 aaronlippold

Perhaps also add the ability to use the -C color flag to color the output if desired

aaronlippold avatar Feb 05 '22 16:02 aaronlippold

https://stackoverflow.com/questions/4810841/pretty-print-json-using-javascript

JSON.stringify already pretty prints output

coloring output would require a library

Amndeep7 avatar Feb 06 '22 07:02 Amndeep7