instead of using pipes, it might be more performant to take the input and output files as arguments (in the case you're reading from a file or writing to a file -- if not, use standard unix redirection)
ex: json2csv.py -i input.json -o output.json
At this point, option parsing is complicated enough that we should move to a full optionParser
instead of using pipes, it might be more performant to take the input and output files as arguments (in the case you're reading from a file or writing to a file -- if not, use standard unix redirection)
ex: json2csv.py -i input.json -o output.json
At this point, option parsing is complicated enough that we should move to a full optionParser