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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for pager_cli-0.2.tar.gz
Algorithm Hash digest
SHA256 502f565cec8cf8e6d84c67e4a0cb144e44a7bfee424ae197c1486047bf2dbffb
MD5 6bc670d538b10c25a5a8340a7e9a56ca
BLAKE2b-256 99035292a1fe0eb897fbbe2addf9d019343916d49d61d165ac70261b6df78ec9

See more details on using hashes here.

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

Hashes for pager_cli-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0969eaae3499874966c8a8d337b0b2e7d6cd7450677e9e620b99e4f3bc4c1006
MD5 38b9d8a3f10691134dbfc9a6b79a3282
BLAKE2b-256 85ad34d586bad23684114958dc36d78e3dbaea7de3c5f0692f04f44166c4cdeb

See more details on using hashes here.

Supported by

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