mentum / lightning-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lightning-cli

wercker status

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

About


Languages

Language:JavaScript 100.0%