blob: c8515916dc1b144879f6450228162e816228bb20 [file] [log] [blame]
#!/bin/bash
# Copyright 2019 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=Other
### print relevant information about the developer setup
## usage:
## fx status [--format=text|json]
##
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
cd "${FUCHSIA_BUILD_DIR}"
exec "${PREBUILT_DART_DIR}/bin/dart" \
--packages="${FUCHSIA_DIR}/scripts/status/status.packages" \
"${FUCHSIA_DIR}/scripts/status/bin/main.dart" "$@"