The script is to supplement the conversion in pandoc from latex to markdown by following simple commands like include and input since this is common in larger documents which are the ones that benefit most from pandoc's automatic conversion.
To convert cv-stylish.tex to cv.md without intermediate files
python latexExpander.py cv-stylish.tex | pandoc --from=latex -o cv.md