Incredibly tiny library with the sole purpose of determining whether a command/program exists in the user's shell.
use cmd_exists::*;
fn main() {
assert!(cmd_exists("neofetch").is_ok());
}
Determine the existense of a command/program.
Incredibly tiny library with the sole purpose of determining whether a command/program exists in the user's shell.
use cmd_exists::*;
fn main() {
assert!(cmd_exists("neofetch").is_ok());
}
Determine the existense of a command/program.
https://crates.io/crates/cmd-exists
MIT License