/cmd-exists

Determine the existense of a command/program.

Primary LanguageRustMIT LicenseMIT

cmd-exists

Crate

Incredibly tiny library with the sole purpose of determining whether a command/program exists in the user's shell.

Usage

use cmd_exists::*;

fn main() {
    assert!(cmd_exists("neofetch").is_ok());
}