Implements cli.start()
Changes cli to pass path from which it was called to commands