duty-0.9.0
توضیحات
A simple task runner.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | duty-0.9.0 |
| نام | duty |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Timothée Mazzucotelli <pawamoy@pm.me> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/duty/ |
| مجوز | ISC |
# duty
[](https://github.com/pawamoy/duty/actions?query=workflow%3Aci)
[](https://pawamoy.github.io/duty/)
[](https://pypi.org/project/duty/)
[](https://gitpod.io/#https://github.com/pawamoy/duty)
[](https://gitter.im/duty/community)
A simple task runner.
Inspired by [Invoke](https://github.com/pyinvoke/invoke).

## Installation
With `pip`:
```bash
pip install duty
```
With [`pipx`](https://github.com/pipxproject/pipx):
```bash
python3.7 -m pip install --user pipx
pipx install duty
```
## Quick start
Create a `duties.py` file at the root of your repository.
```python
from duty import duty
@duty
def docs(ctx):
ctx.run("mkdocs build", title="Building documentation")
```
You can now use the command line tool to run it:
```bash
duty docs
```
See the [Usage](https://pawamoy.github.io/duty/usage/)
section in the documentation for more examples.
نیازمندی
| مقدار | نام |
|---|---|
| - | failprint>=0.11 |
| ython_versio | cached-property>=1.5; |
| ython_versio | typing-extensions>=4.1; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl duty-0.9.0:
pip install duty-0.9.0.whl
نصب پکیج tar.gz duty-0.9.0:
pip install duty-0.9.0.tar.gz