climux-0.1.1
توضیحات
Library for writing command-line interfaces
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | climux-0.1.1 |
| نام | climux |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Levi Gruspe |
| ایمیل نویسنده | mail.levig@gmail.com |
| آدرس صفحه اصلی | https://github.com/lggruspe/climux |
| آدرس اینترنتی | https://pypi.org/project/climux/ |
| مجوز | - |
Climux
======

[](https://pypi.org/project/climux/)
[](https://pypi.org/project/climux/)
[](./LICENSE)
Library for writing command-line interfaces
Installation
------------
```bash
pip install climux
```
Usage
-----
```python
from climux import Cli, Command
def hello(name="stranger"):
"""Say hello."""
return f"Hello, {name}!"
cli = Cli("hello", description="Hello world app.")
cli.add(Command(hello))
cli.run()
```
See [examples](./examples/).
Features
--------
- Subcommands
- Generate CLI help and options from function signature and docstring
- Automatic dispatch to command handling functions
License
-------
[MIT](./LICENSE).
نیازمندی
| مقدار | نام |
|---|---|
| ==0.1.2 | infer-parser |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl climux-0.1.1:
pip install climux-0.1.1.whl
نصب پکیج tar.gz climux-0.1.1:
pip install climux-0.1.1.tar.gz