@greenlight/cli

Greenlight Command Line Interface

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
34Nov 7, 2019Apr 2, 2018Minified + gzip package size for @greenlight/cli in KB

Readme

Greenlight Logo

Greenlight CLI version License Build Status

Greenlight Command Line Interface

Install

npm install --production --save @greenlight/cli

Usage

greenlight <command>

Commands:
  greenlight filesystem [source]  run plugin analysis for "filesystem"
  greenlight git [source]         run plugin analysis for "git"

Options:
  --version    Show version number                                     [boolean]
  --config     path to greenlight config file
  --reporter   Use the specified output reporter                        [string]
                                     [choices: "text", "json", "html", "silent"]
                                                               [default: "text"]
  --soft-exit  do not exit(1) if issues are found                      [boolean]
  --help       Show help                                               [boolean]
greenlight /path/to/project

ā— audits/dummy found 0 issues
ā— audits/demo found 10 issues
ā— audits/eslint found 1 issues

ā— audits/demo issues: 10

/src/box.js

79:43  major  Unexpected ronald with a shirty mosque         approval
38:3   minor  Unexpected hospital with a heedless report     network
14:64  major  Unexpected drawer with a pimpled appliance     spider
83:10  info   Unexpected kite with a trillion mother-in-law  bladder
29:51  minor  Unexpected digestion with a phocine secretary  hamburger
/src/peripheral.js
99:10  minor  Unexpected force with a waspy atom        dresser
24:24  info   Unexpected daffodil with a tussal step    town
31:40  minor  Unexpected daniel with a trustless cover  metal

/src/plate.js

33:34  critical  Unexpected toy with a silenced cream   rabbit
53:55  info      Unexpected wren with an hourlong sort  tsunami

ā— audits/eslint issues: 1

/src/box.js

2:7  major  'settings' is assigned a value but never used.  no-unused-vars

License: ISCĀ ā€¢ Copyright: greenlight.ciĀ ā€¢ Github: @greenlightĀ ā€¢ Twitter: @greenlightCI

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.