dart pub global activate --source git https://github.com/yuzumone/dart-licenses.git
$ dart_licenses --help
-p, --path Set the path pubspec.lock
(defaults to "./pubspec.lock")
-h, --[no-]help Display this message
$ dart_licenses
_fe_analyzer_shared, BSD-3-Clause
analyzer, BSD-3-Clause
args, BSD-3-Clause
...