lightning-cli

0.1.11 • Public • Published

lightning-cli

Lightweight command line interface simplfying lightning usage.

Installation

npm install -g lightning-cli

Usage

Immediate scan

lightning scan <url>

url: valid url of the website you want to be analyzed.

--verbose: A flag used to output result metrics

Schedule a recurring scan

lightning schedule <url> --interval --start

url: valid url of the website you want to be analyzed.

--interval: A time interval in milliseconds. Defaults to one day. Minimum value 5 minutes (300000)

--start-stamp: A milliseconds timestamp specifying when the scanning starts. Defaults to now + interval

--every: An optional argument to set interval in a friendly way. Will override --interval. Example: --every 2-hours. For more examples, refer to the moment.js duration doc. Make sur to link number and unit by a - .

--start-date: An optional ISO8601 formatted date specifying when the scanning starts. Will override --start-stamp Example: --start-date 2016-07-02

Package Sidebar

Install

npm i lightning-cli

Weekly Downloads

0

Version

0.1.11

License

ISC

Last publish

Collaborators

  • eff
  • osylvain