pagerduty cli to list/ack/resolve incidents
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pager_cli-0.2.tar.gz.
File metadata
- Download URL: pager_cli-0.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.5 Linux/5.9.16-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
502f565cec8cf8e6d84c67e4a0cb144e44a7bfee424ae197c1486047bf2dbffb
|
|
| MD5 |
6bc670d538b10c25a5a8340a7e9a56ca
|
|
| BLAKE2b-256 |
99035292a1fe0eb897fbbe2addf9d019343916d49d61d165ac70261b6df78ec9
|
File details
Details for the file pager_cli-0.2-py3-none-any.whl.
File metadata
- Download URL: pager_cli-0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.5 Linux/5.9.16-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0969eaae3499874966c8a8d337b0b2e7d6cd7450677e9e620b99e4f3bc4c1006
|
|
| MD5 |
38b9d8a3f10691134dbfc9a6b79a3282
|
|
| BLAKE2b-256 |
85ad34d586bad23684114958dc36d78e3dbaea7de3c5f0692f04f44166c4cdeb
|