cmd-exists

Crates.iocmd-exists
lib.rscmd-exists
version0.1.0
sourcesrc
created_at2023-12-07 19:08:22.524382
updated_at2023-12-07 19:08:22.524382
descriptionDetermine the existense of a command/program.
homepage
repositoryhttps://github.com/splurf/cmd-exists
max_upload_size
id1061285
size3,521
Evan Schwartzentruber (splurf)

documentation

README

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());
}
Commit count: 2

cargo fmt