Cyclop CLI
![Download](https://img.shields.io/npm/dt/cyclop-cli.svg)
____ _ ____ _ ___
/ ___| _ ___| | ___ _ __ / ___| | |_ _|
| | | | | |/ __| |/ _ \| '_ \ | | | | | |
| |__| |_| | (__| | (_) | |_) | | |___| |___ | |
\____\__, |\___|_|\___/| .__/ \____|_____|___|
|___/ |_|
A CLI to run Lighthouse multiple times and get the quantile value from that, generate a JSON and CSV report for you.
Installation
$ npm i -g cyclop-cli
$ yarn add -g cyclop-cli
$ pnpm i -g cyclop-cli
Usage
Version Check
$ cyclop-cli -v
$ cyclop-cli --version
Help Command
$ cyclop-cli -h
$ cyclop-cli --help
Interactive Command
$ cyclop-cli interactive
CLI Command
$ cyclop-cli cli -u=YOUR_URL --n=3 -c=cookieA=valueA -c=cookieB=valueB
Available Arguments on CLI
Argument | Alias | Description | Data Type | Default Value |
---|
--url | -u | URL to be tested | String | required |
--num | -n | Number do you want to run the job | Number | 1 |
--desktop | -d | Use desktop device instead of mobile | Boolean | false |
--show-ui | -ui | Show the browser UI when testing | Boolean | false |
--cookie | -c | Additional cookies pair (key=value) | Array | empty |
Use latest configuration
$ cyclop-cli file ./config.json
The root path will refer to ./cyclop-cli-reports/{YOUR_CONFIG_FILE}
Maintainers
© 2019 crafted by Web Platform Team