Command parsing from RESP3 frames.
Converts a parsed Frame (expected to be an array) into a typed Command enum. This keeps protocol-level concerns separate from the engine that actually executes commands.
Frame
Command