loganhasson / aspen

3 stars 4 forks source link

Design idea in the works for aspen - create new directory templates #5

Closed mecampbellsoup closed 6 years ago

mecampbellsoup commented 11 years ago

Hey guys -

Logan, Josh and I are hoping to make it "stupid easy" to make an aspen template of your choosing to be added to the gem.

For example: say you are doing a lot of projects these days in sinatra with some ember.js sprinkled in.

We've begun work on an aspen template which simply takes a nested hash (i.e. hashes in hashes in hashes, where the levels of nesting matches the # of levels of subdirectories in your project) as an argument, and then generates an array that our aspen.rb method uses to mkdir-p your project.

You can see the progress so far on the 'templates' branch - but be sure to let us hear what you have to say as we go!