I use Travis CI to build some of my projects that use particle devices. I use the particle-cli to compile the application.
Up to particle-cli@1.27.1 it was possible to login with particle login <username> <password>. This was simple to use with travis that supports encrypted secure environment variables like particle login $PARTICLE_USER $PARTICLE_PWD.
My latest travis build installed particle-cli@1.28.1 and now fails at the particle login.
Is there a reason why the possibility to provide username and password on the login command line was removed?
Thanks for reporting this. I worked on a refactor of the command line parsing recently and several commands had undocumented command line arguments that I wasn’t aware of. I opened a bug report on GitHub to bring back this behavior. https://github.com/particle-iot/particle-cli/issues/408