Skip to content

djcard/commandbox_licenses

Repository files navigation

Commandbox Licenses

The Licenses module is designed to display or export the license information for a ColdBox site. By default the information is based on the current working directory and is displayed on the screen.

box licenseInfo licenses

Options: @folder - defaults to the current working directory but can be any absolute file path

@ExportTo - defaults to screen but other options include "csv" Screen - this will output in the CommandBox terminal a "tree" formatted list of dependencies and what license (MIT, Apache2 etc) that the package is bound by. Useful for code reviews.

|-ColdBox Security Apache2

    |-cbauth MIT

        |-CBStorages Apache2

    |-ColdBox Cross Site Request Forgery (CSRF) Apache2

        |-CBStorages Apache2

    |-JWT CFML MIT

csv - will create a csv file (named with the filename argument, defaults to licenseData) with the columns:

  • name
  • version
  • license
  • indents (to help recreate the tree structure later if desired)

About

A tool to read the modules in a Coldbox install and display / export the license information for the modules and their dependencies.

Resources

License

Stars

Watchers

Forks

Packages

No packages published