Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error on the "brew install" step #45

Open
ajayagrawalacquia opened this issue Oct 24, 2022 · 1 comment
Open

Getting Error on the "brew install" step #45

ajayagrawalacquia opened this issue Oct 24, 2022 · 1 comment

Comments

@ajayagrawalacquia
Copy link

Hello Team,

AjayAgrawal:go-pagerduty-oncall-report ajay.agrawal$ brew install pd-report
Error: pd-report: wrong number of arguments (given 1, expected 0)
AjayAgrawal:go-pagerduty-oncall-report ajay.agrawal$

Any idea how this can be resolved ?

@kgoralski
Copy link

kgoralski commented Nov 6, 2022

Hello Team,

AjayAgrawal:go-pagerduty-oncall-report ajay.agrawal$ brew install pd-report
Error: pd-report: wrong number of arguments (given 1, expected 0)
AjayAgrawal:go-pagerduty-oncall-report ajay.agrawal$

Any idea how this can be resolved ?

Same here.

go install github.com/form3tech-oss/go-pagerduty-oncall-report@latest

then you can use it with

$ go-pagerduty-oncall-report

Generate on-call rotation reports automatically
from your PagerDuty account.

Usage:
  pd-report [command]

Available Commands:
  help        Help about any command
  report      generates the report(s) for the given schedule(s) id(s)
  schedules   list schedules on PagerDuty
  services    list services on PagerDuty
  teams       list teams on PagerDuty
  users       list users on PagerDuty

Flags:
      --config string   configuration file (default is ~/.pd-report-config.yml)
  -h, --help            help for pd-report

Use "pd-report [command] --help" for more information about a command.

or just install from source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants