keysync 3.0.2

A utility to sync local authorized_keys file updated with your with Github, Gitlab, and Launchpad public keys
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Shell;
use std::env;

include!("src/cli.rs");

fn main() {
    let outdir = env::var_os("CARGO_TARGET_DIR")
        .or_else(|| env::var_os("OUT_DIR"))
        .unwrap();

    let mut app = app();
    app.gen_completions(env!("CARGO_PKG_NAME"), Shell::Bash, &outdir);
    app.gen_completions(env!("CARGO_PKG_NAME"), Shell::Zsh, &outdir);
    app.gen_completions(env!("CARGO_PKG_NAME"), Shell::Fish, &outdir);
}