adb_cli 2.1.19

Rust ADB (Android Debug Bridge) CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Parser;
use std::net::SocketAddr;
use std::path::PathBuf;

use super::DeviceCommands;

#[derive(Parser, Debug)]
pub struct TcpCommand {
    pub address: SocketAddr,
    /// Path to a custom private key to use for authentication
    #[clap(short = 'k', long = "private-key")]
    pub path_to_private_key: Option<PathBuf>,
    #[clap(subcommand)]
    pub commands: DeviceCommands,
}