if you don't like how the formatter laid out your code, you may need to introduce new functions/variables the formatter is not as clever as humans are, so it can sometimes produce less readable code ...
The arguments are as follows. Usage: xml2csv [flags] Flags -i, --input string XML input file path or directory or url -m, --mapping string XML to CSV mapping file path or url -o, --output string CSV ...