add option to parse a full command using this.parse

But yeah I really wish there were a good way to do this in JavaScript. `switch`, I guess.