ArduinoProjectSetup is a project mainly written in PYTHON and JAVA, it's free.
Script to setup a arduino project