I am trying to automically claim 250 P1’s to my account and I am wondering if a .bat file could do that working with the CLI. I am new to this but as a start it would be below but I am stuck at responding to the “? Please enter your email address” using the bat.
Does anyone know how to repsond to questions using .bat commands?
I would need to particle login cause every time the bat is opened it creates a new session and this bat would automate the entire setup and claiming of the devices
Simply add a particle.config.json file to .particle. or manually login to the particle account once.
This will get you passed the ? Please enter your email address
From then on, all the other commands will not require you to login.