doc: clean up lib/command exception docs
doc: add commands class docs