Fix CLI
This fixes the new
and setupdb
commands that were broken in the 0.2.0 release.
The issues were to do with changes in flow control - promises were racing and all running at once.
In addition to solving the races, I also migrated these two commands to use await/async.