execdir-2020.7.1
توضیحات
run command from multiple directories
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | execdir-2020.7.1 |
| نام | execdir |
| نسخه کتابخانه | 2020.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/andrewp-as-is/execdir |
| آدرس اینترنتی | https://pypi.org/project/execdir/ |
| مجوز | Unlicense |
<!--
https://readme42.com
-->
[]()
[](https://pypi.org/project/execdir/)
[](https://unlicense.org/)
### Installation
```bash
$ [sudo] pip install execdir
```
```bash
$ [sudo] npm i -g execdir
```
#### How it works
1. create list of directories
2. run command
#### Config
`$XDG_CONFIG_HOME/execdir` by default - `~/.config/execdir`
```bash
$ export EXECDIR=~/Library/execdir
```
#### Examples
set directories
```bash
# ~/git/owner/repo
$ find ~/git -type d -maxdepth 2 | execdir set all
$ find ~/git -name "setup.py" -maxdepth 3 | sed 's#/[^/]*$##' | execdir set pypi
$ find ~/git -name "package.json" -maxdepth 3 | sed 's#/[^/]*$##' | execdir set npmjs
$ find ~/git -name ".travis.yml" -maxdepth 3 | sed 's#/[^/]*$##' | execdir set travis
```
run command
```bash
$ execdir run pypi python setup.py sdist upload
$ execdir run npmjs npm publish
```
<p align="center">
<a href="https://readme42.com/">readme42.com</a>
</p>
نحوه نصب
نصب پکیج whl execdir-2020.7.1:
pip install execdir-2020.7.1.whl
نصب پکیج tar.gz execdir-2020.7.1:
pip install execdir-2020.7.1.tar.gz