chore: add stub for remote copier
This commit is contained in:
parent
327fd3098a
commit
8bab93ae98
@ -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!(),
|
||||
},
|
||||
_ => (),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user