When executing "lineman new my_project" If destination dir exists, abort and warn user. #33

Closed
davemo opened this Issue Feb 2, 2013 · 2 comments

Projects

None yet

3 participants

@davemo
Contributor
davemo commented Feb 2, 2013

Right now if you generate a scaffold into a directory lineman doesn't check to see if the directory exists. Had this happen during my demo at a meetup and was confused about wtf happened for 30 seconds 🌴

@jasonkarns
Member

If this change is made, I request that it accept an 'override' or 'force' option. Twice today I needed to lineman new a project into an existing (non-lineman) project.

@searls
Member
searls commented May 10, 2013

No force option, but I fixed this to exit when the dir exists. Burned me twice this week.

Fixed by:
e65f786#L1R14

@searls searls closed this May 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment