new command: restore; fixes #2
handle cmd errors more like the go tool