particle-iot/spark-cli

Pass wifi credentials via command-line arguments

Opened this issue · 1 comments

It would be nice to be able to pass the wifi credentials (ssid, security, and password) via command-line arguments instead of stepping through each step one by one.

I've been trying to hack this myself, but keep running in circles with it thinking that the next argument after "node app.js serial wifi" is the com port.

That's a great idea!

I'm currently working on the wireless setup support for the Photon, so I will work to include this as an option there. Expect this in a future version for the serial setup as well, although I can't guarantee exactly when.

I'm happy to try and help if you decide to keep working on it yourself too!