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

davemo opened this Issue Feb 2, 2013 · 2 comments


None yet

3 participants

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 🌴


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 commented May 10, 2013

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

Fixed by:

@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