ncm-cli icon indicating copy to clipboard operation
ncm-cli copied to clipboard

Add HTML exporting feature for reports

Open mster opened this issue 6 years ago • 4 comments

See: https://github.com/nodesource/process/issues/36

Description: Allows for users to generate and export a NCM project report in HTML (as per customer request).

  • Report contains project information similar to the --long report.
  • Users can specify the location and filename when exporting via --html path/to/report.html (default exports to cwd with a timestamped report name).

TODO:

  • [x] Implementation approval
  • [x] Determine & implement design
  • [ ] Add tests

Screenshot(s): a very ugly duckling Screen Shot 2019-08-12 at 7 48 19 PM

mster avatar Aug 13 '19 02:08 mster

Changes completed as per your review @edsadr

mster avatar Aug 19 '19 20:08 mster

Updated Example Screenshot: bad-package-report

mster avatar Aug 19 '19 20:08 mster

Filtering now supported.

report-c

report-s

(and depending on security vulnerability level, as the cli does)

mster avatar Aug 30 '19 03:08 mster

Reflection of changes

report3

mster avatar Aug 30 '19 18:08 mster