Command to flash bin file on NodeMCU

Is there a command that can flash a bin file from a specific folder onto the nodemcu?

something like this (if its even possible):

platformio run -e nodemcuv2 -t c:\Temp\test.bin --target upload --upload-port COM3

Nevermind… got my answer here:

http://docs.platformio.org/en/stable/projectconf.html#envs-dir