@webcompsuite/cli
v1.0.1
Published
Scan a website with Web Compliance Suite from your terminal or CI and fail the build below a score
Readme
@webcompsuite/cli
Scan a website with Web Compliance Suite from a terminal or a CI job.
It has no dependencies.
export WCS_API_URL=https://webcompsuite.com
export WCS_API_KEY=wcs_... # Settings → Security → API keys (scopes: scan:read scan:write report:read)
npx @webcompsuite/cli scan https://example.com --fail-under 80 --fail-on critical
# a score only describes what was scanned: fail when under half of the pages found were scanned,
# and scan the pages a plan's page limit left (Pro and above; each follow-up scan counts against your quota)
npx @webcompsuite/cli scan https://example.com --min-coverage 50 --scan-rest 2
npx @webcompsuite/cli scan https://example.com --format sarif --output wcs.sarif
npx @webcompsuite/cli report scan_123 --format junit --output wcs.xmlExit codes: 0 passed, 1 did not pass the thresholds, 2 error. Scans count against your plan's monthly scan quota like scans started in the app. Run wcs --help for every option.
License
Commercial software. Copyright (c) 2026 Prozen Technologies OPC Pvt Ltd. All rights reserved. Web Compliance Suite is a product of Prozen Technologies OPC Pvt Ltd. Use is governed by the LICENSE file included with this package and the Terms of Service.
