license_checker 1.0.0 license_checker: ^1.0.0 copied to clipboard
Tool to view and check license of a package's dependencies.
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."
This file can be referenced when calling lic_ck check-licenses
with the --config
option.
lic_ck
or lic_ck -h
will display help