cmd-exists

Crates.iocmd-exists
lib.rscmd-exists
version0.1.2
created_at2023-12-07 19:08:22.524382+00
updated_at2025-07-26 17:24:12.437468+00
descriptionDetermine the existense of a command/program.
homepage
repositoryhttps://github.com/eschwart/cmd-exists
max_upload_size
id1061285
size4,376
Evan Schwartzentruber (eschwart)

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: 0

cargo fmt