You can extract the commands from the SVF file if Programmer supports the device. You may also refer to the SPI Flash vendor's data sheet for the programming algorithm.
The format of the data is the BIN file. If you want to generate other different formats, you may use the Deployment Tool > External Memory.