command-known-as-dan-1.2.7
توضیحات
Command is a simple framework for handling command execution within your python application.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | command-known-as-dan-1.2.7 |
| نام | command-known-as-dan |
| نسخه کتابخانه | 1.2.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | known-as-dan |
| ایمیل نویسنده | dan@gotoindex.com |
| آدرس صفحه اصلی | https://github.com/known-as-dan/command-pypi |
| آدرس اینترنتی | https://pypi.org/project/command-known-as-dan/ |
| مجوز | - |
# About
Command is a simple framework for handling command execution within your Python application.
**Note:** This is a **Javascript => Python** port of https://github.com/known-as-dan/command-npm
# Usage
Recreating the common "echo" command using Command & Python:
```python
from command import command
def echo(args):
separator = " "
message = separator.join(args)
print(message)
command.Command("echo", "<message>", "Prints out a message.", echo)
command.init()
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl command-known-as-dan-1.2.7:
pip install command-known-as-dan-1.2.7.whl
نصب پکیج tar.gz command-known-as-dan-1.2.7:
pip install command-known-as-dan-1.2.7.tar.gz