tmrts / boilr

:zap: boilerplate template manager that generates files or directories from template repositories
Apache License 2.0
1.73k stars 119 forks source link

Automatically `init` #40

Closed rawkode closed 7 years ago

rawkode commented 7 years ago

Boilr should ensure the configuration directory exists, rather than relying on installation script or a user running 'init'

I'm not sure if this is something you'll want to merge, but I think the user-experience is nicer.

Should you wish to adopt this, I'm happy to update this PR and remove init command completely, if wanted.

rawkode commented 7 years ago

I believe this lends itself well to your idea of removing life-cycle events ( #39 )

tmrts commented 7 years ago

@rawkode excellent, thank you! I forgot about init, its now an unnecessary command and its inline with #39. Other than some minor comments it LGTM.

Also, you can just extract the init command into a function and invoke that in main, then remove the command, it should be easier

rawkode commented 7 years ago

Hopefully I understood the changes you wanted :+1:

tmrts commented 7 years ago

@rawkode thanks, looks good :smile: