#check #command #exists

cmd-exists

Determine the existense of a command/program

1 unstable release

0.1.0 Dec 7, 2023

#780 in Operating systems

MIT license

3KB

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());
}

No runtime deps