ctail-0.0.3
توضیحات
A colored tail
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ctail-0.0.3 |
| نام | ctail |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Otger Ballester |
| ایمیل نویسنده | otger@gmail.com |
| آدرس صفحه اصلی | https://github.com/otger/ctail |
| آدرس اینترنتی | https://pypi.org/project/ctail/ |
| مجوز | - |
# ctail = colored tail
ctail is a command line script used to show the last lines of a file adding color to provided regular expressions.
```
ctail$ ctail -h
usage: ctail [-h] [-d] [-l NLINES] [-f] [-s] file_path [reg_exes [reg_exes ...]]
positional arguments:
file_path path of the file
reg_exes regular expressions to colour on the file (default: None)
optional arguments:
-h, --help show this help message and exit
-d color date times in format: yyyy-mm-dd HH:MM:SS (default: False)
-l NLINES how many last lines show from file (default: 10)
-f, --follow output appended data as the file grows (default: False)
-s, --show-regexes show applied regular expresions (default: False)
```
# Install
```
pip install ctail
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ctail-0.0.3:
pip install ctail-0.0.3.whl
نصب پکیج tar.gz ctail-0.0.3:
pip install ctail-0.0.3.tar.gz