GitXplorerGitXplorer
m

duty

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9f5e5d2c84cf0bd28ae90c801b9ec7aeae66fefb

Escaping angle brackets in README.

mmrduncan committed 10 years ago
Unverified
9d01c66fae9fe5bceb6315209121c548a8bf38ba

Initial commit

mmrduncan committed 10 years ago

README

The README file for this repository.

Duty

Duty is a command line PagerDuty client.

Usage

You'll need to have the following environment variables set:

  • PAGERDUTY_SUBDOMAIN is the subdomain of your account (http://<subdomain>.pagerduty.com).
  • PAGERDUTY_API_KEY is your API key, create a new one at https://<subdomain>.pagerduty.com/api_keys.
$ duty
usage: duty <command>

Available commands are:
  help        Show usage
  incidents   List incidents
  schedules   List schedules
  users       List users
$ duty users
ABCDEFG
Name:      Jane Doe
Email:     jane@example.com
Role:      owner
Timezone:  Pacific Time (US & Canada)

HIJKLMN
Name:      John Doe
Email:     john@example.com
Role:      user
Timezone:  Pacific Time (US & Canada)

Disclaimer

I originally threw this together in about an hour so it's very incomplete. Pull requests welcome!