[Shell] Moved CommandType definition to a separate file.