Overview
pagerduty cli to list/ack/resolve incidents
This project was generated with cookiecutter using jacebrowning/template-python.
Setup
Requirements
- Python 3.7+
Installation
Install it directly into an activated virtual environment:
$ pip install pager_cli
or add it to your Poetry project:
$ poetry add pager_cli
Usage
create a file to store your API key
cat ~/.pager_cli -p
userid: YOUR_USER_ID(eg:PBZDORP)
apikey: YOUR_API_KEY
List and ACK the incident
# pager_cli --help
Usage: pager_cli [OPTIONS]
Console script for pager_cli.
Options:
--action TEXT Action list/ack/resolve
--config TEXT config file default:~/.pager_cli
--help Show this message and exit.
# pager_cli
⠸ Loading...
🦾 No active incident
Release files for pager-cli 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pager_cli-0.2.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pager_cli-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / pager_cli-0.2.tar.gz
| Download URL | pager_cli-0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
502f565cec8cf8e6d84c67e4a0cb144e44a7bfee424ae197c1486047bf2dbffb
|
|
BLAKE2b-256 checksum How to use checksums |
99035292a1fe0eb897fbbe2addf9d019343916d49d61d165ac70261b6df78ec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.5 Linux/5.9.16-1-MANJARO
|
Release files / pager_cli-0.2-py3-none-any.whl
| Download URL | pager_cli-0.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0969eaae3499874966c8a8d337b0b2e7d6cd7450677e9e620b99e4f3bc4c1006
|
|
BLAKE2b-256 checksum How to use checksums |
85ad34d586bad23684114958dc36d78e3dbaea7de3c5f0692f04f44166c4cdeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.9.5 Linux/5.9.16-1-MANJARO
|