Not a fan of the name.  Prefer `command_line`, or if you MUST stick with cmd, then `cmd_line`, but I really don't like cmd.