clibuilder-0.1.7
توضیحات
CLI builder using argparse.ArgumentParser-like interface
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | clibuilder-0.1.7 |
| نام | clibuilder |
| نسخه کتابخانه | 0.1.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Anson Rosenthal |
| ایمیل نویسنده | anson.rosenthal@gmail.com |
| آدرس صفحه اصلی | https://github.com/anrosent/cli.git |
| آدرس اینترنتی | https://pypi.org/project/clibuilder/ |
| مجوز | MIT License |
cli
===
anrosent
This module provides a class ```cli.CLI``` that simplifies writing Command Line Interfaces for applications. It uses the ```argparse``` module from the CPython standard library, which provides great help/error messaging, as well as argument validation. You can find a decorator-based alternative in ```flask.ext.script.Manager```, but here I've tried to emulate the ```argparse.ArgumentParser``` interface, with the bonus of no external dependencies.
### Example
See ```example.py``` for a great intro.
نحوه نصب
نصب پکیج whl clibuilder-0.1.7:
pip install clibuilder-0.1.7.whl
نصب پکیج tar.gz clibuilder-0.1.7:
pip install clibuilder-0.1.7.tar.gz