커맨드 패턴은 parse·lookup·execute 책임을 분리한다

명령별 조건문을 한 곳에 늘리지 않고 이름에서 실행 객체로 연결합니다.

CommandDispatcher문자열을 실행 객체로 연결

parser

name·arguments

registry

name→Command

context

session·services

execute

명령별 동작

result

protocol response

핵심: 공통 인증·오류 변환은 dispatcher에, 업무 동작은 각 command에 둡니다.