OptionalhelpWhether to display help information. When true, shows usage instructions and exits without processing.
OptionalkeyPagerDuty API authentication token. Can also be provided via API_TOKEN environment variable. Command-line value takes precedence over environment variable.
OptionaloutputPath to the output CSV file for payroll data. File will be created with Google Sheets compatible format. Directory will be created if it doesn't exist.
Comma-separated list of PagerDuty schedule IDs to analyze. Each schedule will be processed independently and results combined.
Start date for the analysis period in ISO format (YYYY-MM-DD). Will be coerced to midnight (00:00:00) in the schedule's timezone.
OptionaltimeOptional IANA timezone identifier to override the schedule's default timezone. If not provided, uses the timezone configured in PagerDuty schedule.
End date for the analysis period in ISO format (YYYY-MM-DD). Will be coerced to end of day (23:59:59.999) in the schedule's timezone.
Configuration options for the CalOohPay command-line interface.
Defines all the parameters that can be provided when running the CLI tool to calculate on-call payments. These options control which schedules to query, the time period to analyze, authentication, and output preferences.
Example