diff --git a/crates/voidpin/src/main.rs b/crates/voidpin/src/main.rs index b5b8b8c..6fe16d0 100644 --- a/crates/voidpin/src/main.rs +++ b/crates/voidpin/src/main.rs @@ -19,6 +19,15 @@ struct Command { enum Commands { Listen {}, Copy {}, + Remote { + #[command(subcommand)] + command: RemoteCommands, + }, +} + +#[derive(Subcommand)] +enum RemoteCommands { + Copy {}, } #[tokio::main] @@ -47,6 +56,9 @@ async fn main() -> anyhow::Result<()> { tracing::debug!(content = &input, "found content"); state.local_copier().copy(input.as_bytes()).await?; } + Commands::Remote { command } => match command { + RemoteCommands::Copy {} => todo!(), + }, _ => (), }