commandavailability

Description

A small utility that can determine if a command is available from the command line. Written for Pharo.

Details

Source
GitHub
Dialect
pharo (25% confidence)
License
MIT
Stars
1
Created
Oct. 21, 2015
Updated
Oct. 22, 2015

README excerpt

# Command Availability
A small utility that can determine if a command is available from the command line. Written for Pharo.

## Install me
Simply execute this code snippet in your image:
~~~
Metacello new
    baseline: 'CommandAvailability';
    repository: 'github://juliendelplanque/commandavailability/repository';
    load.
~~~

## Example
For Linux you can test it like this:
~~~
CACheckerUNIX isAvailable: 'echo'. "true"
CACheckerUNIX isAvailable: 'ech'. "false if you didn't defined such a command."
~~~
← Back to results