Command Pattern in GOF vs CQRS meanings
Good question.
Command pattern in its raw form is like GOF says.
In CQRS the command is just a DTO (data transfer object) because CQRS is, in most cases, implemented with events or message bus that handles the command. In CQRS you send the command to the system and the system has some kind of bus or event architecture that allows autonomous component to subscribe to handle the command; in this way you can create a responsibility chain and it is more SOLID to, for example, work with read and write models.
It is more a chain of responsibility pattern that command pattern but you keep the advantages of command pattern because you still have commands and can, for example, implement UNDO an action easily like in command pattern.
This link can help you to understand CQRS better.
This came up on the DDD/CQRS discussion group, answer by Greg Young:
There are multiple definitions of the command pattern.
You are looking at the Command Message pattern. The only difference is GoF combines the handling of the command with the Command itself. If using the command over a tier boundary this turns out to be a not-so-great idea as your schema and handling are tied together
https://groups.google.com/forum/?hl=en#!topic/dddcqrs/Yfrt4OqPUD0