blob: 20b260d7c8d87da9bd9fb9a8399cc16db303eab7 [file] [log] [blame]
#!/bin/bash
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#### CATEGORY=Device discovery
### list all nearby devices (excluding those on zedboot)
## usage: fx list-devices
##
## Note: Does not include devices on zedboot.
set -e
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-standard-switches "$@"
fx-config-read
fx-target-finder-info