blob: 2d1d5b685fafd4eecf65b99786cafa39ab933f9c [file] [edit]
// 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.
use argh::{ArgsInfo, FromArgs};
use ffx_core::ffx_command;
use ffx_target_sub_command::SubCommand;
#[ffx_command()]
#[derive(ArgsInfo, FromArgs, Debug, PartialEq)]
#[argh(
subcommand,
name = "target",
description = "Interact with a target device or emulator",
note = "The `target` subcommand contains various commands for target management
and interaction.
Typically, this is the entry workflow for users, allowing for target
discovery and provisioning before moving on to `component` or `session`
workflows once the system is up and running on the target.
Most of the commands depend on the RCS (Remote Control Service) on the
target."
)]
pub struct TargetCommand {
#[argh(subcommand)]
pub subcommand: SubCommand,
}