Crates.io | cmd-exists |
lib.rs | cmd-exists |
version | 0.1.0 |
source | src |
created_at | 2023-12-07 19:08:22.524382 |
updated_at | 2023-12-07 19:08:22.524382 |
description | Determine the existense of a command/program. |
homepage | |
repository | https://github.com/splurf/cmd-exists |
max_upload_size | |
id | 1061285 |
size | 3,521 |
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());
}