blob: 9a7415bb3971cc0ee4787a823f322fbdab50a152 [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/package_config.json" \
"${FUCHSIA_DIR}/scripts/status/bin/main.dart" "$@"