Refactoring derived class of CliParseState for command execution.