Automattic / vip-go-compatibility-scanner

Scan for compatibility problems in repository code using PHPCS with any standard, report as GitHub issues.
5 stars 1 forks source link

Add support for '-file' parameters #13

Closed gudmdharalds closed 4 years ago

gudmdharalds commented 4 years ago

Add generic support for '-file' parameters, activate for both --github-issue-body and --zendesk-ticket-body.

With this addition, the script can be called with --github-issue-body-file=/tmp/github-issue-body.txt, and the file containing the whole GitHub issue body. This is instead of calling --github-issue-body with the whole string.