from https://en.wikipedia.org/wiki/Command_pattern
I think this one paragraph does a better job explaining the pattern. than that entire article.
Rationale/Use:
Using command objects makes it easier to construct general components
that need to delegate, sequence or execute method calls at a time of
their choosing without the need to know the class of the method or the
method parameters.
Design:
Four terms always associated with the command pattern are command,
receiver, invoker and client. A command object knows about receiver
and invokes a method of the receiver. Values for parameters of the
receiver method are stored in the command. The receiver then does the
work. An invoker object knows how to execute a command, and optionally
does bookkeeping about the command execution. The invoker does not
know anything about a concrete command, it knows only about command
interface. Both an invoker object and several command objects are held
by a client object. The client decides which commands to execute at
which points. To execute a command, it passes the command object to
the invoker object.
The Client doesn't know the inside workings of either the invoker or of the commands. and that is what is good about it. The client can think of them as 'atomic' events that they can start (by passing the command to the receiver) whenever they want.
So for example if I had a video game, I could have a magic book(receiver), some scrolls (commands), there would be a Hero/Heroine that would be the (client), and the magic imp(invoker) that takes the scroll's contents(the command) and knows how to convert it into 'input'(params) for the book(receiver)
(an aside: I just made up that comparison, but I rather like it... Might use that more)
So that is why the link says that 'receiver' methods can be altered without affecting the client code. Because the Client doesn't know the details of the Command nor of the receiver. (nor of the invoker). It just has a 'group of commands' that it can assign to receiver methods how it chooses. Without having to know anything about the internal makeup of any of the 3 other classes.