that 0.1.1

locate the binary for a command
Documentation
that
====

[![crates.io](https://img.shields.io/crates/v/that.svg)](https://crates.io/crates/that)
[![Documentation](https://docs.rs/that/badge.svg)](https://docs.rs/that)
[![Build Status](https://travis-ci.org/btwiuse/that.svg?branch=master)](https://travis-ci.org/btwiuse/that)

`that` is a clone of `which`, built with [nothing](https://docs.rs/nothing).

## Install

```
cargo install that
```

## Usage

```
that 0.1.1
locate the binary for a command

USAGE:
    that <COMMAND>

ARGS:
    <COMMAND>    command name

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information
```

## Examples

if the command is found in PATH, print the path and exit with `0`

```
$ that cat
/usr/sbin/cat
$ echo $?
0
```

otherwise do nothing, exit with `1`

```
$ that dog
$ echo $?
1
```