JSON output format
Because people love JSON
Well, actually, if the data is to be interchanged with typical modern ‘web apps’, then JSON is the de-facto data format to write. Data can then be piped into stuff like slackbots or aws talking speakers.
The interface should be the same as other tools. A command line flag “-o”:
awscert [-o json] file
Example usage to pipe data to curl(1)’s standard input, to a program in AWS lambda:
awscert -o json file | curl -H ‘Content-Type: application/json’ -d@- https://awslambda.com/myprogram