license_checker 1.6.0 license_checker: ^1.6.0 copied to clipboard
A tool to view and check the licenses of a package's dependencies. It also generates a disclaimer file containing all the package licenses.
Displays the license of dependencies. Permitted, rejected and approved packages are configurable through a YAML config file.
Install #
dart pub global activate license_checker
Getting Started #
Create a YAML config file. Example:
permittedLicenses:
- MIT
- BSD-3-Clause
approvedPackages:
Apache-2.0:
- barbecue
rejectedLicenses:
- GPL
copyrightNotice:
mlb: "2000 MLB."
packageLicenseOverride:
dodgers: BSD-3-Clause
packageSourceOverride:
dodgers: https://dodgers.com
omitDisclaimer:
- angles
This file can be referenced when calling lic_ck check-licenses
with the --config
option.
lic_ck
or lic_ck -h
will display help
For more details on the YAML config options see the Config documentation