qs 0.1.2

Quick SSH - Dead simple, zero-friction SSH wrapper that makes working with remote machines effortless
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use qs::util::check_command;

#[test]
fn check_command_returns_false_for_nonexistent() {
    assert!(!check_command("definitely_not_a_real_command"));
}

#[test]
fn check_command_returns_true_for_common_tools() {
    #[cfg(unix)]
    {
        assert!(check_command("ls"));
    }
}