extend from CConsoleCommand