pa11y / pa11y-ci

Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
https://pa11y.org
GNU Lesser General Public License v3.0
515 stars 63 forks source link

No `--reporter` cli flag available #157

Closed jasikpark closed 3 years ago

jasikpark commented 3 years ago

Either the docs are incorrect or the tool is incorrect - the docs say there's a flag to --reporter to specify where to send the logs and I gave it this:

yarn workspace docs pa11y-ci --sitemap 'https://astro-docs-git-docs-improve-a11y-pikapkg.vercel.app/sitemap.xml' --sitemap-find 'https://docs.astro.build' --sitemap-replace 'https://astro-docs-git-docs-improve-a11y-pikapkg.vercel.app' --reporter ~/Downloads/astro-docs-improve-a11y.log

With this output: error: unknown option--reporter'`

sangitamane commented 3 years ago

Hi @jasikpark, thanks for using Pa11y!

We need to give option for reporter to choose from, adding cli for the included default CLI reporter next to --reporter should work!

Hope this helps!

jasikpark commented 3 years ago

Ah, in that case could the description be updated to the fact that the local file must be a JS script that can consume the output? I wanted to have the output piped into a file...

jasikpark commented 3 years ago

Thanks for the great tool anyways!