https://github.com/tddschn/path-utils
https://github.com/tddschn/path-utils
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tddschn/path-utils
- Owner: tddschn
- Created: 2023-03-18T04:05:59.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T17:21:29.000Z (about 2 years ago)
- Last Synced: 2025-07-17T17:23:23.303Z (11 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# $PATH Utilities
Created for personal use.
- [$PATH Utilities](#path-utilities)
- [Available commands](#available-commands)
- [`list-executables`](#list-executables)
- [Installation](#installation)
- [pipx](#pipx)
- [pip](#pip)
- [Develop](#develop)
## Available commands
### `list-executables`
```
$ list-executables --help
usage: list-executables [-h] [-p path] [-C] [-s] [-d]
List all executables in $PATH
options:
-h, --help show this help message and exit
-p path, --path path Paths to search, defaults to $PATH (default: None)
-C, --commands-only Only list command names instead of full paths (default: False)
-s, --sort Sort the output (default: False)
-d, --dedup Deduplicate the output (default: False)
```
## Installation
I am not able to upload this package under the name `path-utils` to PyPI, probably because it's too similar to an existing package `path-util` on PyPI.
Please install from `git+https://github.com/tddschn/path-utils.git` until this issues is resolved.
### pipx
This is the recommended installation method.
```bash
# pipx install path-utils
pipx install git+https://github.com/tddschn/path-utils.git
```
### [pip](https://pypi.org/project/path-utils/)
```bash
# pip install path-utils
pip install git+https://github.com/tddschn/path-utils.git
```
## Develop
```
$ git clone https://github.com/tddschn/path-utils.git
$ cd path-utils
$ poetry install
```