Using P1 in production. Many happy years of flashing via dfu-util.
What is the neat way to flash without pressing keys the bootloader. I could write an expect script, but honestly, I’d expect that --force and --yes would actually be listened to as options rather than prompting ‘Press ENTER when your device is blinking BLUE’.
I took a wander through https://github.com/particle-iot/particle-cli/blob/master/src/cmd/serial.js and it doesn’t listen to --yes, it calls _promptForListeningMode regardless.
So, can someone help me out or should I just hack serial.js like I used to have to do?
Thanks in advance!