fx get-device-addr

输出当前所选设备的 Fuchsia 地址

usage: fx get-device-addr [--resource|--url]

  --resource     print the address in resource format (encased in [] if IPv6)
  --url          print the address in url format (encased in [] if IPv6 and url escaped)

get-device-addr 源代码