deckjs / deck

27 stars 1 forks source link

allow subsequent deck inits #62

Open davidmarkclements opened 9 years ago

davidmarkclements commented 9 years ago

use case - create git repo after initting

run deck init again to automatically populate github repo files (as npm init does)

current behaviour:

show terminal logo exit

ckiss commented 9 years ago

Tried to reproduce this with latest version. Seems to work fine the second time you do an init. It does actually work in a similar way as npm. @davidmarkclements can I close this?

davidmarkclements commented 9 years ago

if the content module has a git remote does it add that to the package.json like npm init does?

ckiss commented 9 years ago

haven't tried that, but at least the init works the second time :) it doesn't just show the terminal logo and exits. I'll give that a try

ckiss commented 9 years ago

@davidmarkclements it does not, but I have implemented a solution for it. I'll do a PR soon (once I get access :D )