Skip to main content

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.

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI License

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


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)

Uploaded Source

Built Distribution

pager_cli-0.2-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page