An open API service indexing awesome lists of open source software.

https://github.com/splurf/cmd-exists

Determine the existense of a command/program.
https://github.com/splurf/cmd-exists

command crates-io exists rust

Last synced: 2 months ago
JSON representation

Determine the existense of a command/program.

Awesome Lists containing this project

README

        

# cmd-exists
[![Crate](https://img.shields.io/crates/v/cmd-exists.svg)](https://crates.io/crates/cmd-exists)

Incredibly tiny library with the sole purpose of determining whether a command/program exists in the user's shell.

## Usage
```rust
use cmd_exists::*;

fn main() {
assert!(cmd_exists("neofetch").is_ok());
}
```