dirindex-0.4
توضیحات
make index.html
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dirindex-0.4 |
| نام | dirindex |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Watanabe Takashi |
| ایمیل نویسنده | wtnb75@gmail.com |
| آدرس صفحه اصلی | https://github.com/wtnb75/dirindex |
| آدرس اینترنتی | https://pypi.org/project/dirindex/ |
| مجوز | MIT |
# Install
- pip install dirindex
- dirindex --help
- or ... docker run ghcr.io/wtnb75/dirindex --help
# Usage
```
# dirindex --help
Usage: dirindex [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
make
read-resource
```
## make directory index
```
# dirindex make --help
Usage: dirindex make [OPTIONS] DIRECTORY
Options:
--verbose / --no-verbose
--template TEXT
--dry / --no-dry [default: False]
--recursive / --no-recursive [default: False]
--single / --no-single [default: False]
--pattern TEXT [default: *]
--hide TEXT
--filename TEXT [default: index.html]
--help Show this message and exit.
```
create Apache style directory index
- dirindex make --template apache /path/to/directory
- open /path/to/directory/index.html
- [built-in styles](dirindex/templates/)
- template
- Jinja2
- arguments... dirindex make --dry --template /dev/null /path/to/directory --filename - --verbose
# Links
- [pypi](https://pypi.org/project/dirindex/)
- [coverage](https://wtnb75.github.io/dirindex/)
- ~~[local pypi repo](https://wtnb75.github.io/dirindex/dist/)~~
نیازمندی
| مقدار | نام |
|---|---|
| - | Click |
| - | Jinja2 |
نحوه نصب
نصب پکیج whl dirindex-0.4:
pip install dirindex-0.4.whl
نصب پکیج tar.gz dirindex-0.4:
pip install dirindex-0.4.tar.gz