Write entire command struct regardless of type.