GWG SEO Docsv0.1.0

Run reports

Use the command line

Run a report, inspect its input schema, and choose an output format. Commands here use the project-local installation.

For v0.1.0 · Updated November 23, 2026

Discover commands and report inputs

Terminal
npx --no-install gwg-seo --help
npx --no-install gwg-seo reports list
npx --no-install gwg-seo reports describe site.crawl

The report schema is the authority for accepted input. Unknown properties are rejected. Use gwg-seo start for interactive guidance in a terminal; in automation, it prints guidance without prompting. Prefix it with npx --no-install for a local installation.

Run a report

Terminal
npx --no-install gwg-seo reports run site.crawl \
  --url https://www.example.com/ --max-pages 20 --max-depth 3

The convenience commands audit URL and crawl URL map to page.audit and site.crawl. For schema fields without a dedicated flag, pass a JSON object through --params:

Terminal
npx --no-install gwg-seo reports run site.sitemap \
  --params '{"url":"https://www.example.com/sitemap.xml","maxUrls":100}'

Choose how to keep the output

OptionBehavior
--format jsonDefault. Includes coverage, data, and findings.
--format htmlA standalone, escaped report for a browser.
--format markdownText suitable for a review document.
--output ./new-fileCreate a new output file. Existing files are not overwritten.
--saveStore a snapshot under your local GWG SEO data directory.

Formatting applies to reports. Commands such as reports list return JSON. Saved snapshots retain the structured report, even when the display format is HTML or Markdown.

Handle exit status and partial results

Command errors are JSON on stderr with a nonzero exit status. A completed audit exits successfully even when it finds website defects. A crawl can also complete with per-URL failures or partial coverage, so inspect the returned report rather than using exit status as a site-health score.

Use doctor to inspect local setup without a network call. For recurring runs, arrange scheduling in your own system; GWG SEO does not include a hosted scheduler.

BUILD WITH THE EVIDENCE

Want an audit to become part of your GTM system?

Work with Vikash