purple-ssh 2.13.0

Terminal SSH client and host manager. Search, connect, transfer files and sync from 11 cloud providers. Edits ~/.ssh/config with round-trip fidelity.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn main() {
    let now = time_now();
    println!("cargo:rustc-env=PURPLE_BUILD_DATE={}", now);
}

fn time_now() -> String {
    // UTC date in "DD Mon YYYY" format (unambiguous across locales)
    let output = std::process::Command::new("date")
        .args(["-u", "+%-d %b %Y"])
        .output()
        .expect("failed to run date");
    String::from_utf8(output.stdout)
        .expect("invalid utf8")
        .trim()
        .to_string()
}