add comprehensive command documentation

Fix #23