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
- Host: GitHub
- URL: https://github.com/jceb/dir-in-path-cli
- Owner: jceb
- License: other
- Created: 2021-03-10T12:55:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-03T12:59:52.000Z (about 5 years ago)
- Last Synced: 2025-03-22T21:02:20.682Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dir-in-path-cli
[](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