Better way of Command pattern implementation

Printable View