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 原始碼