`rails generate scaffolf products name:string` generate models, views, controller, migration and even controller tests. I dit not seen this anywhere outside Rails.
I tried LaTeX but I found the import statements very messy. Also I spend many times to improve output for Listing (for example). So I thinks tools like markdown or Asciidoctot way more easy and more comfortable than LaTex....