Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@thiagoveras/cli-plugin-lighthouse

VerasThiago2MIT0.0.1TypeScript support: included

cli-plugin-lighthouse =====================

oclif-plugin

readme

cli-plugin-lighthouse

oclif Version Downloads/week License

oclif-example lighthouse:audit URL

Run lighthouse audit over a specific url

USAGE
  $ oclif-example lighthouse:audit URL

OPTIONS
  -h, --help     show CLI help
  -j, --json     Return the report as json on stdout
  -v, --verbose  Show debug level logs
  --trace        Ensure all requests to VTEX IO are traced

ALIASES
  $ oclif-example lh:audit

EXAMPLES
  vtex lighthouse audit my.url.com
  vtex lh audit my.url.com

See code: build/commands/lighthouse/audit.ts

oclif-example lighthouse:show

Show previous saved audit reports, filtering by app and/or url

USAGE
  $ oclif-example lighthouse:show

OPTIONS
  -a, --app=app  App name to be filtered
  -h, --help     show CLI help
  -u, --url=url  Url to be filtered
  -v, --verbose  Show debug level logs
  --trace        Ensure all requests to VTEX IO are traced

ALIASES
  $ oclif-example lh:show

EXAMPLES
  vtex lighthouse show --app=vtex.awesome-app
  vtex lighthouse show -u https://awesome.store.com
  vtex lighthouse show -a vtex.awesome-app --url=https://awesome.store.com
  vtex lh show --app=vtex.awesome-app
  vtex lh show -u https://awesome.store.com
  vtex lh show -a vtex.awesome-app --url=https://awesome.store.com

See code: build/commands/lighthouse/show.ts