Is there any way to bypass the confirmation required by CLI when flashing OTA? I’m using Visual Studio Code and this tutorial to create compile and flash tasks and I can’t enter any additional input once the tasks are run. Here’s the confirmation I’m trying to bypass:
I’ve tried piping an echo of the value I have to enter after flashing (0.005) and I tried to run it as a second command using && after a delay. Here is my tasks.json file:
Seeing as it’s something you’ve installed on your computer, you’ll find them in their respective directory. Depending on how you installed them, look for either a ‘particle’ directory, or check your NPM directory for the particle-cli. I believe mine were in C:\Users\[name]\AppData\Roaming\npm\node_modules
In case anyone else is running into this problem, locate the file in C:\Users\[name]\AppData\Roaming\npm\node_modules\particle-cli\commands\CloudCommands.js. Modify the _promptForOta function as such:
I think it’d be nice to have an override, like an extension to the existing --force flag or maybe a new flag like --ota-yes, to force CLI to ignore this blocking check.