I would use the Command struct/class as a parameter