@vtex/cli-plugin-lighthouse

1.0.0 • Public • Published

cli-plugin-lighthouse

vtex plugin template

oclif npm

Usage

$ npm install -g @vtex/cli-plugin-lighthouse
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@vtex/cli-plugin-lighthouse/1.0.0 linux-x64 node-v12.22.1
$ oclif-example --help [COMMAND]
USAGE
  $ oclif-example COMMAND
...

Commands

oclif-example lighthouse:audit URL

Runs a Lighthouse audit over the specified URL.

USAGE
  $ oclif-example lighthouse audit URL

ARGUMENTS
  URL  URL to audit.

OPTIONS
  -h, --help     show CLI help
  -j, --json     Returns the report as a 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

Shows a previous audit report, filtering by app and/or URL.

USAGE
  $ oclif-example lighthouse show

OPTIONS
  -a, --app=app  Filters by the specified app.
  -h, --help     show CLI help
  -u, --url=url  Filters by the specified URL.
  -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

Readme

Keywords

Package Sidebar

Install

npm i @vtex/cli-plugin-lighthouse

Weekly Downloads

334

Version

1.0.0

License

MIT

Unpacked Size

440 kB

Total Files

19

Last publish

Collaborators

  • jardelymaris
  • denissilvavtex
  • eduardocesb
  • enzomerca
  • vinhags
  • zaedyvtex
  • filafb
  • bastotec
  • arthurtriis1vtex
  • geraldo.fernandes
  • georgebrindeiro
  • filipewl
  • emersonvtex
  • rodrigo.albuquerque
  • viniciuslouzadavtex
  • npedrosovtex
  • myllena.alves
  • mendescamara
  • mauro.takeda
  • lpolon
  • gianvittorio
  • eduardoformiga
  • vcnovaes
  • dpzvtex
  • vtexlab-user
  • wender
  • natamelo
  • mairatma
  • mayzabel
  • augusto.lazaro
  • rafarubim
  • gustavorosolem
  • arthurepc
  • jeymisson
  • victorhmp
  • lurian
  • arturpimentel
  • anitavincent
  • brunojdo
  • lucasecdb
  • matheusps
  • emersonlaurentino
  • viniagostini
  • lucasaarcoverde
  • lariciamota
  • icazevedo
  • fabits
  • mateuspontes
  • gmantiqueira
  • vitorlgomes
  • rodolfoams
  • policarpo
  • marcelovicentegc
  • maianabt
  • jeffersontuc
  • hiagolcm
  • william.silva