pushed
lukelouyu/ip • 5:25 AM - Feb 24, 2026
To improve request routing and separation of concerns, the Parser class now includes a dedicated parse method that evaluates the first word of user inputs. It uses a switch statement to map these inputs directly to specific Command classes like TodoCommand, DeadlineCommand, and ExitCommand. This establishes a much cleaner Command pattern structure, streamlining how operations are instantiated and executed within the application.
