feat: discover ADB devices from agent management
This commit is contained in:
1 parent
8ecfe880cc
commit
3a7bb071f0
12 files changed
+132
-5
No files matched your search
@@ -65,6 +65,8 @@ enum Agents {
|
||||
}
|
||||
#[derive(Subcommand, Clone)]
|
||||
enum Devices {
|
||||
/// Discover devices already known to the Agent host ADB server
|
||||
Discover,
|
||||
List,
|
||||
Add {
|
||||
#[arg(long)]
|
||||
@@ -308,6 +310,7 @@ async fn main() -> Result<()> {
|
||||
Command::Restart => Request::Restart,
|
||||
Command::Devices { command } => match command {
|
||||
Devices::List => Request::DevicesList,
|
||||
Devices::Discover => Request::DevicesDiscover,
|
||||
Devices::Add {
|
||||
id,
|
||||
target,
|
||||
|
||||
Reference in new issue
Block a user