debugged promise chain in cli init
Merge pull request #7 from atungare/webclient

debugged promise chain in cli init