flash a connected device

    usage: fx flash [-s <serial>] [--build|--no-build]
      --build | --no-build    Build (or not) the required dependencies
      -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
     --no-bootloader-reboot   Don't reboot bootloader after flashing firmware or
                              recovery fastboot image.

    Defaults are defined by the "incremental" feature:
       'fx --enable=incremental flash'  defaults to "--build"
       'fx --disable=incremental flash'  defaults to "--no-build"

[flash source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/flash)