awslogs-watch-0.2.1
توضیحات
awslogs-watch is a CLI tool that makes it easy to use awslogs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | awslogs-watch-0.2.1 |
| نام | awslogs-watch |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | deresmos |
| ایمیل نویسنده | deresmos@gmail.com |
| آدرس صفحه اصلی | https://github.com/deresmos/awslogs-watch |
| آدرس اینترنتی | https://pypi.org/project/awslogs-watch/ |
| مجوز | MIT License |
awslogs-watch
==
[](https://badge.fury.io/py/awslogs-watch)
[](https://github.com/deresmos/awslogs-watch/actions?workflow=Python+Test)
[](https://github.com/deresmos/awslogs-watch/blob/master/LICENSE)
About
===
awslogs-watch is a CLI tool that makes it easy to use awslogs.
Default cache directory is `$XDG_CACHE_HOME/awslogs_watch` or `~/.cache/awslogs_watch`
Installation
==
To install awslogs-watch, use pip.
```bash
pip install awslogs_watch
```
Examples
==
## Update awglogs groups cache
```bash
$ awslogs-watch
Command: update
```
or
```bash
$ awslogs-watch --update
```
## Interactive mode
`option: -i`
```bash
$ awslogs-watch -i
Profile: default
Command: get
Group : group_name
Option : --start="1d"
```
## Interactive mode (Default value is recent history)
`option: -r`
```bash
$ awslogs-watch -ir
Profile: default
Command: get
Group : group_name
Option : --start="1d"
```
## Get awslogs
```bash
$ awslogs-watch
Command: get
group: select interactive group name
```
or
```bash
$ awslogs-watch --get
group: select interactive group name
```
## Tail awslogs
```bash
$ awslogs-watch
Command: tail
group: select interactive group name
```
or
```bash
$ awslogs-watch --tail
group: select interactive group name
```
## Change profile
```bash
$ awslogs-watch --profile develop
```
## Set awslogs option
```bash
$ awslogs-watch --option="-S"
```
نیازمندی
| مقدار | نام |
|---|---|
| ==2.0.9 | prompt-toolkit |
| - | awslogs |
| - | pytest |
| - | pytest-sugar |
| - | pytest-mock |
| - | black |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl awslogs-watch-0.2.1:
pip install awslogs-watch-0.2.1.whl
نصب پکیج tar.gz awslogs-watch-0.2.1:
pip install awslogs-watch-0.2.1.tar.gz