#pager-duty #command-line #cli

app pd-quick-override

A tool to quickly create pagerduty overrides

3 releases

0.1.2 Feb 26, 2023
0.1.1 Feb 26, 2023
0.1.0 Feb 26, 2023

#3 in #pager-duty

34 downloads per month

MIT license

30KB
706 lines

pd-quick-override

build status

This is a tool to quickly create pagerduty overrides from the command line.

pd-quick-override-demo

Install with

cargo install pd-quick-override

You'll also need FZF installed on your system.

usage: create

Create overrides for the current day:

pd-quick-override create --at 'today, 4pm-5pm'
pd-quick-override create --at 'today, 4:30pm-5:30pm'

Create an override for yourself:

pd-quick-override create --me --at 'today, 4:30pm-5:30pm'

Specify a timezone (create will default to your local timezone)

pd-quick-override create --time-zone 'Europe/Paris --at 'today, 4:00pm-5:00pm'

Add an override for more than one day:

pd-quick-override create --at 'today, 10am - 10/3, 10am'

usage: reset-api-key

Clear the API key stored in your local keychain.

pd-quick-override reset-api-key

Dependencies

~12–29MB
~471K SLoC