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

https://github.com/jceb/dir-in-path-cli

Utility to test if a given directory is in $PATH
https://github.com/jceb/dir-in-path-cli

Last synced: about 1 year ago
JSON representation

Utility to test if a given directory is in $PATH

Awesome Lists containing this project

README

          

# dir-in-path-cli

[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Check if directory is in path

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)

## Install

Install via npm:

```
yarn global add dir-in-path-cli
```

or use [deno](https://deno.land) to run it without installation:

```
deno run --allow-env=PATH --allow-read https://deno.land/x/dir_in_path_cli/dir-in-path.js
```

## Usage

Run command to test if directory is in `$PATH`.

```
dir-in-path . ~/bin ~/.local/bin
```

## Maintainers

[@jceb](https://github.com/jceb)

## Contributing

PRs accepted.

Small note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.

## License

MIT © 2021 Jan Christoph Ebersbach