Google celebrates Hispanic Heritage Month. See how.

fx flash-remote

Remotely build, fetch and flash

usage: fx flash-remote HOST [DIR] [--no-flash] [--no-build]

Connect to HOST, run a build using fx from DIR, fetch the artifacts and
start the flash.

 --no-build    Do not build, just pull artifacts already present
 --no-flash    Do not start the fastboot, just pull the artifacts
  -s           Serial of device you wish to flash to (only necessary if multiple
               devices in fastboot mode)
 --skip-verify Skip hardware verification. This is dangerous, please be
               sure the images you are flashing match the device. Only supported
               with ffx

 HOST          the hostname to connect to
 DIR           defaults to ~/fuchsia, the path to the FUCHSIA_DIR on HOST

flash-remote source code