Refactor: Parse command list already process end of command