titan-suite / cli

CLI for Titan Suite
https://titan-suite.com
Apache License 2.0
14 stars 1 forks source link

titan init overwrite idea #1

Closed tcrowe closed 6 years ago

tcrowe commented 6 years ago

Hey guys :wave:

When I did titan init it blew away my package.json. It's not a problem as one should expect any init to write to a fresh directory. Maybe it could give a warning (y/n)? in the prompt.

Did you ever talk about that?

ToJen commented 6 years ago

Hey @tcrowe, thanks for pointing that out. I will probably have a titan init <dApp-name> or instruct the user to init in a new folder or like you said give the (y/n)? prompt.

ToJen commented 6 years ago

Fixed in commit https://github.com/titan-suite/cli/commit/aba19e7d077fd26a9852bafc2c2611ac7a80b775

tcrowe commented 6 years ago

Thank you @ToJen. I will try this later

ToJen commented 6 years ago

Thanks. Btw what version of node are you running?

tcrowe commented 6 years ago

v9.11.2