Indatus / blacksmith

Blacksmith is a code generation tool which automates the creation of common files that you'd typically create for each entity in your application.
MIT License
193 stars 13 forks source link

add custom base directory support #14

Closed ahmadshah closed 10 years ago

ahmadshah commented 10 years ago

Referring to issue #13

Added support like @bkuhl suggested. This will enable to execute command like blacksmith generate Foo.Foobar scaffold ~/path/to/config.json. Also added a new template variable called {{Base}} to retrieve the base directory name

Signed-off-by: Ahmad Shah Hafizan Hamidin ahmadshahhafizan@gmail.com

ahmadshah commented 10 years ago

Squashed commits into one.

Changelog:

brianwebb01 commented 10 years ago

Thanks @ahmadshah !

ahmadshah commented 10 years ago

Thanks for the merge! :thumbsup: