I have found myself using the spark cli more and more these days.
I have been using
spark compile *directoryname*
Then once I get the firmware bin file back, i am doing
spark flash corename firmware-xxxxx.bin
I got sick and tired of tracking down the newest firmware binary filename each time....so i used this fun little trick. it always flashes the newest firmware-xxxx.bin file in the current directory.
Good question! Yes! I wanted to make sure when we updated the CLI commands that the old ones would keep working so the transition would be super smooth.
The CLI documentation is still a bit lacking, I also hid a parameter in there to set the output binary filename:
spark compile . --saveTo project.bin
or
spark flash .
or
spark flash . --usb
All suggestions on improving the CLI welcome! I was using it a lot myself this weekend on a new project, and I’m eager to keep improving it.