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
pager_cli-0.2.tar.gz
(5.4 kB
view hashes)