(wr *proto.Writer, cmd Cmder)
| 276 | } |
| 277 | |
| 278 | func writeCmd(wr *proto.Writer, cmd Cmder) error { |
| 279 | return wr.WriteArgs(cmd.Args()) |
| 280 | } |
| 281 | |
| 282 | // cmdFirstKeyPosWithInfo returns the first key position in a command's args (0 if none). |
| 283 | // Uses CommandInfo.FirstKeyPos when available (via cache peek, no network call), falling |