debugged promise chain in cli init