caretta-sync/desktop/src/cli/device/ping.rs

17 lines
367 B
Rust
Raw Normal View History

2025-07-02 08:32:15 +09:00
use clap::Args;
2025-08-21 07:40:33 +09:00
use caretta_core::utils::runnable::Runnable;
2025-07-04 08:05:43 +09:00
use crate::cli::{ConfigArgs, PeerArgs};
2025-07-02 08:32:15 +09:00
#[derive(Debug, Args)]
pub struct DevicePingCommandArgs{
#[command(flatten)]
peer: PeerArgs,
#[command(flatten)]
config: ConfigArgs
}
2025-07-04 08:05:43 +09:00
impl Runnable for DevicePingCommandArgs {
2025-08-21 07:40:33 +09:00
async fn run(self, app_name: &'static str) {
2025-07-02 08:32:15 +09:00
todo!()
}
}