Cli-template-generator is a project mainly written in ..., it's free.
Example code to create a cli that uses a config file, command line args, and cheetah templates to create files
This is a set of skeleton files that you could use to create your own python command line application that uses a config file, command line options, and cheetah templates to generate text files of any kind.