chore: add stub for remote copier

This commit is contained in:
2025-01-10 09:11:02 +01:00
parent 327fd3098a
commit 8bab93ae98

View File

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