Don't we generally raise `CommandError` rather than writing to stderr and caling `sys.exit` directly? I think that's a better approach; the command-runner will exit if it gets a `CommandError`. Generally this makes testing commands programmatically easier too; I haven't looked yet at how (if?) you're testing this codepath.