pd-auto-ack

A local CLI that acknowledges PagerDuty incidents only when the configured user is on call.

View the Project on GitHub nithishduda-ai/pagerduty-oncall-ack

Command Reference

Use pd-auto-ack --help to see all commands.

pd-auto-ack init

Creates a starter configuration file.

pd-auto-ack init --env-file ~/.pd-auto-ack.env

What it does:

Useful flags:

pd-auto-ack doctor

Validates local configuration without calling PagerDuty.

pd-auto-ack doctor --env-file ~/.pd-auto-ack.env

What it does:

Use this first when debugging a config file.

pd-auto-ack check

Validates PagerDuty API access and shows current on-call/incident state without acknowledging anything.

pd-auto-ack check --env-file ~/.pd-auto-ack.env

What it does:

Use this after doctor and before run.

pd-auto-ack run

Runs the auto-ack decision flow.

Dry-run one cycle:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --once

Continuous dry-run:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --watch --interval 30

Continuous live mode:

pd-auto-ack run --env-file ~/.pd-auto-ack.env --watch --interval 30 --apply

What it does:

Useful flags:

pd-auto-ack tui

Opens an optional k9s-style terminal dashboard.

Install the dashboard extra for a fresh install:

pipx install "pagerduty-oncall-ack[tui]"

For an existing pipx install:

pipx inject pagerduty-oncall-ack textual

Dry-run dashboard:

pd-auto-ack tui --env-file ~/.pd-auto-ack.env

Live dashboard:

pd-auto-ack tui --env-file ~/.pd-auto-ack.env --apply

What it does:

Keys:

Useful flags:

Common Flags