clipat 0.1.2

CLI tool for sharing clipboard with remote SSH sessions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;
use clipat::client;
use clipat::server;
use clipat::{Cli, Commands};

fn main() {
    let args = Cli::parse();
    match args.command {
        Commands::Copy(args) => client::copy(args).unwrap(),
        Commands::Paste(args) => client::paste(args).unwrap(),
        Commands::Server(args) => server::run(args).unwrap(),
    }
}