fx fastboot

interact directly with a device's bootloader via the fastboot protocol

USAGE:
    fx fastboot [arguments to fastboot]

This simply runs the prebuilt fastboot binary with the arguments given.
See "fx fastboot help" for options to fastboot.

fastboot source code