Use a dictionary, instead of an if/else tree.
Expand the try/catch to include the commands.
Fix the command-line tests.
Refactor some of the command-line command methods into NCommander's Command classes.
Refactor the render command method into a Command class.
Split the input into args and modify the repl command methods to take those instead of the unsplit input string.